[xsd-users] compression code generation

Boris Kolpackov boris at codesynthesis.com
Tue Jun 10 08:37:53 EDT 2014


Hi Sean,

Sean Kaner <seankaner at amewas.com> writes:
 
> Unfortunately it has no support for parsing "xercesc::InputSource" [...]

What you are looking for is a parsing function that accepts InputSource.
You always get a complete set, including the one that you want, so what
most likely happens is that the parsing function is not generated
altogether. XSD by default will generates parsing functions for every
global element in your schema (in the compression example that element
is 'catalog', defined right at the end of the schema). So the first
thing to check is that you actually have any global elements.

You can also read more on things related to parsing functions in Chapter
3, "Parsing", in the C++/Tree Mapping User Manual:

http://www.codesynthesis.com/projects/xsd/documentation/cxx/tree/manual/#3

Boris



More information about the xsd-users mailing list