I have an element reference inside a complex type
sequence. For some reason the 1.0 RI gives the
following error:
[ERROR] Specified property customization is not used.
line 172 of xxx.xsd
If I remove the annotation it generates the class
with the "List getAttribute();"
With the beta implementation this worked and
generated the "List getAttributes()" that I wanted.
<xs:element ref="attribute" minOccurs="0"
maxOccurs="unbounded">
<xs:annotation>
<xs:appinfo>
<jaxb:property name="attributes"/>
</xs:appinfo>
</xs:annotation>
</xs:element>
In another complex type sequence I have the following
which it accepts just fine:
<xs:element name="attribute-name" type="xs:string"
maxOccurs="unbounded">
<xs:annotation>
<xs:appinfo>
<jaxb:property name="attributes"/>
</xs:appinfo>
</xs:annotation>
</xs:element>
Can you see the problem with what I am trying to do,
or do I need to give you more of my xsd file?
Thanks in advance,
-Doug.
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/