Hello all,

I'm trying to unmarshal an XML file with the structure of

<something> <!-- not a class, just something -->
   <aclass>
      <member> <!-- member is a class too -->
      </member>
      <member>
      </member>...
   </aclass>
</something>

Mapping file:
<class name"a.package.aclass">
...
<field name="member" type="a.package.Member" collection="set">
   <bind-xml name="member" location ="aclass" />
</field>
...
</class>

Everything else maps properly, however only the first members is put in the Set, all of the other ones are ignored. Is this a mapping issue or something with the constructor(s)/set method(s)?

Regards,
Elvedin


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to