[xsd-users] Empty enumeration results in cxx value

Stephen James Stephen.James at genband.com
Thu Nov 19 09:51:40 EST 2009


Without going to zero white space, is there a medium pretty print (fair
print)? Multiple lines without all the spaces, i.e. no indents, or
indents with \t?

-----Original Message-----
From: Boris Kolpackov [mailto:boris at codesynthesis.com] 
Sent: Thursday, November 19, 2009 7:02 AM
To: Stephen James
Cc: xsd-users at codesynthesis.com
Subject: Re: [xsd-users] Empty enumeration results in cxx value

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