[xsd-users] Default values for optional elements.

Boris Kolpackov boris at codesynthesis.com
Fri Feb 17 06:27:56 EST 2006


David,

Moss, David R (SELEX Comms) (UK Christchurch) <david.r.moss at selex-comm.com> writes:

> Yes, the class-static variable does sound the way forward despite the
> initialisation overhead - seems like a reasonable trade-off against
> making two object copies per call to default() and aligning that
> behaviour with that of get().

Ok, I implemented this in my workspace. Here is a binary for you
to play with:

http://codesynthesis.com/~boris/tmp/xsd-1.9.0-2-i686-windows.zip

Let me know if you run into any problems.

hth,
-boris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 652 bytes
Desc: Digital signature
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20060217/b87e8a95/attachment.pgp


More information about the xsd-users mailing list