> David, 
> 
> Are you telling the Source Generator to use the J2 collection types? 
> 
> Bruce 
> -- 
> perl -e 'print
unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'

Bruce,

I wasn't, but now I am I just get ArrayList in place of Vector. My requested
collection still has no effect. 

Here are the relevent snippets from my schema and bindings files:

  <xs:complexType name="AddressHierarchyType">
    <xs:sequence>
      <xs:element name="name" type="xs:string"/>
      <xs:element name="level" type="AddressHierarchyLevelType"
minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="id" type="xs:int" use="optional"/>
    <xs:attribute name="version" type="xs:int" use="optional"/>
  </xs:complexType>

Binding:

  <complexTypeBinding name="AddressHierarchyType">
    <java-class name="Fred" final="true" equals="true"/>
    <elementBinding name="level">
      <member name="myLevel" collection="set"/>
    </elementBinding>
  </complexTypeBinding>

I've tried various values for the collection attribute. The member element
must be being processed because the name="myLevel" attribute has an effect
in the generated source.

David

Reply via email to