users@glassfish.java.net

Re: Can't apply JAXB nillable=true to arrays of objects in WS APIs

From: <glassfish_at_javadesktop.org>
Date: Thu, 18 Oct 2007 03:02:07 PDT

With the second case (SiteSet not siteSet), schemagen actually duplicates the elements like this:

<xs:complexType name="siteSet">
<xs:sequence>
<xs:element name="Sites" type="site" nillable="true" maxOccurs="unbounded" minOccurs="0"/>
<xs:element name="sites" type="site" nillable="true" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
</xs:complexType>

This would seem to me to be a bug ?
[Message sent by forum member 'richliv' (richliv)]

http://forums.java.net/jive/thread.jspa?messageID=240878