[xsd-users] XSD Generate Insertion and XSD:AnyAttribute

Boris Kolpackov boris at codesynthesis.com
Fri Dec 9 10:42:19 EST 2016


Hi Damon,

Southworth Damon (AA-AS/EOS32) <damon.southworth at uk.bosch.com> writes:

> A new schema that we have included into the project turned out to use
> XSD:AnyAttribute, for which we had to use the --generate-wildcard option.
> Whilst the generated code correctly reads the XML files and populates an
> attribute_set, when it is serialized to a binary format the data is lost.

XSD does not support binary serialization of wildcard content. If you
need it, then you will need to support it in an ad hoc way using type
customization.

Boris



More information about the xsd-users mailing list