[xsd-users] --ordered-type-xxx breaks serialization

Boris Kolpackov boris at codesynthesis.com
Tue Jan 28 07:48:19 EST 2020


killtech at gmx.net <killtech at gmx.net> writes:

> In order to check the input and the output file, I use the
> --ordered-type-all option so that I can use graphical diff tools like
> kdiff3.
> 
> Up to now, I was just patching some attribute values or the content of
> pure text nodes. Everything has been working fine.
> 
> Now, I have to extend some element lists (elements with minOccurs="0"
> maxOccurs="unbounded") and try to export the XML file again: my new item
> is NOT stored.

Have you updates the content_order sequence to correspond to the changes
you've made? See "Element Order" for details:

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



More information about the xsd-users mailing list