There's a test case for this as part of the JiBX build:

   <collection field="orderIds">
     <value name="order" type="java.lang.String"/>
   </collection>

so I know it's working properly. What's the rest of your binding (and the rest of the exception stack trace)?

 - Dennis

Henri Dupre wrote:

I'd like to bind a string list to an arraylist of String. I searched in this mailing list but all the examples are not working with the RC0:
<collection field="codesFams">
<!--<structure name="codeFam" map-as="java.lang.String"/>-->
<value name="codeFam" type="java.lang.String"/>
</collection>


generates:
[bind] Error running binding compiler
[bind] org.jibx.runtime.JiBXException: Method call on invalid structure
I also tried to replace the <value > by a structure but that didn't help.


Any other suggestions?

Henri.



------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ jibx-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to