[xsd-users] Fails to parse complex type extensions

Boris Kolpackov boris at codesynthesis.com
Wed Jun 24 09:59:43 EDT 2026


Nicolas Weidmann <n.weidmann at lombardodier.com> writes:

> I have an XSD containing several complex types. Let's call them A, B, C & D
> 
> B is an extension of A, C of B and D of C.
> 
> Only A has an associated element name a
> 
> This means that only A gets a generated function name parseA.
> 
> I have a document containing a D, but I can't parse it as parseA
> explicitly tests for the type to be "a":

Smells like polymorphism to me:

https://www.codesynthesis.com/projects/xsd/documentation/cxx/tree/manual/#2.11



More information about the xsd-users mailing list