[xsd-users] error: expected compositor instead of particle

Boris Kolpackov boris at codesynthesis.com
Tue Oct 23 10:21:12 EDT 2018


Heiko Paul <HeikoPaul at atron.de> writes:

> Command line: xsd cxx-parser pkm.xsd
> pkm.xsd:24:47: error: expected compositor instead of particle

The C++/Parser mapping has very limited support for complex type
derivation by restriction. And this is one example of it. I would
suggest that you use the C++/Tree mapping for this kind of schemas
(plus handling complex schemas with C++/Parser is pretty hard).



More information about the xsd-users mailing list