[xsd-users] A9 regression
Boris Kolpackov
boris at codesynthesis.com
Tue Nov 8 10:12:47 EST 2016
Hi Chris,
Chris Gagneraud <chgans at googlemail.com> writes:
> It seems to me that xsdcxx doesn't support "pure abstract" element
> (element with "abstract='true'" but with no type),
An element without the 'type' attribute defaults to xsd:anyType. Try
adding:
--polymorphic-type anyType
If that doesn't help, you can try:
--polymorphic-type-all
If that works then it is a good idea to figure out which additional
types you need to list with --polymorphic-type (*-all is an overkill).
XSD should warn about all such cases.
Boris
More information about the xsd-users
mailing list