[xsd-users] Problems with generated schema
ope
ope-devel at gmx.de
Tue Jul 24 12:41:24 EDT 2007
>> metalink_parser::metalink_parser(const std::string& file){
>> m_metalink_files.push_back(file);
>> }
>
> This c-tor does not initialize m_metalink_props. If you are
> using this c-tor to create a metalink_parser object then
> this would explain why things still do not work.
Oh dear, you are so right.
shame ...
>> If I disable validation (1st Option) no output is performed.
>
> You mean there is no errors or you don't get the output that
> you expected?
I get no output.
> If none of the above help, could you send a complete test driver,
> including code that instantiates metalink_parser, so that I can
> take a look.
Well, here we are.
$ g++ -DDRIVER -I. metalink_parser.cpp metalink.cpp -o metalink -lxerces-c
$ ./metalink ./curl.metalink
load ./curl.metalink
That's all. I would expect "curl-7.16.4.tar.gz"
Thanks,
Olaf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: curl.metalink
Type: text/xml
Size: 5447 bytes
Desc: not available
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20070724/9e3c1f92/curl.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: metalink.cpp
Type: text/x-c++src
Size: 141453 bytes
Desc: not available
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20070724/9e3c1f92/metalink.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: metalink.hpp
Type: text/x-c++hdr
Size: 74946 bytes
Desc: not available
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20070724/9e3c1f92/metalink.hpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: metalink.xsd
Type: text/xml
Size: 11335 bytes
Desc: not available
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20070724/9e3c1f92/metalink.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: metalink_parser.hpp
Type: text/x-c++hdr
Size: 971 bytes
Desc: not available
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20070724/9e3c1f92/metalink_parser.hpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: metalink_parser.cpp
Type: text/x-c++src
Size: 2097 bytes
Desc: not available
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20070724/9e3c1f92/metalink_parser.cpp
More information about the xsd-users
mailing list