Hello,

at the moment I'm searching for a solution to map the following collection:

<coll>
  <struc1>
    <element>text1</element>
  </struc1>
  <struc2>
    <element>test2</element>
  </struc2>
</coll>

I tried this binding definition:
<collection name="coll" field="arraylist">
  <structure name="struc1" type="struc1Class">
    <value name="element" field="element" />
  </structure>
  <structure name="struc2" type="struc2Class">
    <value name="element" field="element" />
  </structure>
</collection>

But the binding compiler says:
Collection component must specify a test-method to distinguish from next 
component of compatible type for marshalling; on structure element at ...

Now I'm searching for a example of the test-method or an other solution of my 
problem.

King regards
Wolle
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to