Given this schema:
<xsd:complexType name="Address">
<xsd:sequence>
<xsd:element name="streetAddress"
type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="AdjustableDates">
<xsd:sequence>
<xsd:element name="unadjustedDate"
type="xsd:date" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
These files are produced.
AddressTypeDescriptor.java
AddressType.java
AdjustableDatesTypeDescriptor.java
AdjustableDatesType.java
AddressType defines a method:
public void removeAllStreetAddress();
but AddressTypeDescriptor tries to call:
AddressType target = (AddressType) object;
target.clearStreetAddress();
I think the intent of AddressTypeDescriptor is to call
removeAllStreetAddress() because this method actually calls clear() on
the encapsulated list, but somehow the call in AddressTypeDescriptor is
to clearStreetAddress(), which doesn't exist.
Let me know if I should raise this as an issue on jira.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email