[xsd-users] RE: Problem during compilation of generated files

De, Pradipta pde at seic.com
Tue Oct 18 13:44:41 EDT 2005


Hi Boris,

We tried the serialization , but we are hitting into similar problems
like the one we initially hit for elements.txx , the error we are
getting is as follows

*********************
"/home1/xxxx/pradipta/parser_1.4/libxsd-1.4.0-2/xsd/cxx/xml/dom/serializ
ation.txx", line 173: Error: A constructor may not have a return type
specification.
"/home1/xxxx/pradipta/parser_1.4/libxsd-1.4.0-2/xsd/cxx/xml/dom/serializ
ation.txx", line 173: Error: xsd::cxx::xml::dom::dom(const
std::basic_string<std::charT, std::char_traits<std::charT>,
std::allocator<std::T>>&, const std::basic_string<std::charT,
std::char_traits<std::charT>, std::allocator<std::T>>&, const
xsd::cxx::xml::dom::namespace_infomap<xsd::cxx::xml::dom::C>&) is not a
member of xsd::cxx::xml::dom.
2 Error(s) detected.
*** Error code 2
make: Fatal error: Command failed for target `driver.o'
*********************

Please have a look and let us know.

Thanks & Regards,
Pradipta De 

-----Original Message-----
From: Boris Kolpackov [mailto:boris at codesynthesis.com] 
Sent: Monday, October 17, 2005 2:15 PM
To: De, Pradipta
Cc: xsd-users at codesynthesis.com
Subject: Re: Problem during compilation of generated files

Pradipta,

De, Pradipta <pde at seic.com> writes:

> But, when try to generate the code like the following way:
>
> C:\Documents and
> Settings\pde\Desktop\useful\codes\xsd-1.4.0-i686-windows\bin>xsd
> --generate-serialization xxxx_Online_Input.xsd

I think you forgot to specify which mapping you want. It should be
something like this:

xsd cxx-tree --generate-serialization xxxx_Online_Input.xsd


BTW, the command line interface of the compiler is documented here:

http://codesynthesis.com/projects/xsd/documentation/xsd.xhtml


hth,
-boris





More information about the xsd-users mailing list