[xsd-users] cxx-parser with --file-per-type

Boris Kolpackov boris at codesynthesis.com
Thu Nov 21 11:55:26 EST 2013


Hi Farhat,

Latrach, Farhat <Farhat.Latrach at sc.com> writes:

> First of all, thanks for your great xsd compiler.

Thanks, I am glad you like it.


> I have a very complicated schemas with many include/import. I tried to
> use the cxx-parser with option -file-per-type to ensure of a complete
> parser but xsd always ends with runtime error at mid road!

I can't say for sure what it wrong without knowing exactly what
error you are getting. Having said that, the C++/Parser mapping
is meant for simple schemas since you will have to implement a
parser for every type yourself. For complex schemas I would
recommend you use C++/Tree instead.


> Is there any option like -parts of cxx-tree to use with cxx-parser?

No. Also, this option won't help you with your issue (complex 
import/include graphs).

Boris



More information about the xsd-users mailing list