[xsd-users] Empty enumeration results in cxx value

Boris Kolpackov boris at codesynthesis.com
Thu Nov 19 08:01:41 EST 2009


Hi Stephen,

Stephen James <Stephen.James at genband.com> writes:

> So this does do what I need, except that when I serialize using the
> empty enumerator I get <tag></tag> instead of <tag/>. The latter is what
> I would prefer limiting the size of the xml, which is included in
> messages.

Hm, it is surprising nobody complained about this before. Thanks for 
reporting this! I have fixed this and you can get the update for XSD
3.2.0 via these links:

http://www.codesynthesis.com/~boris/tmp/xsd-3.2.0-empty-element.tar.gz
http://www.codesynthesis.com/~boris/tmp/xsd-3.2.0-empty-element.zip

Simply replace the file in your standard XSD 3.2.0 distribution with 
the one provided in the archive.

Boris



More information about the xsd-users mailing list