Hi Paul, Use a <value name="SeatsRequested"/> rather than a <structure name="SeatsRequested"/>, and that should work. I'm surprised the construct you've got worked with String, but suspect that was because of some special-case checks in the code generation which really shouldn't apply in this case.
And Serkan's correct that BigInteger and BigDecimal are not listed in the conversions table, but that's because they use the default Object handling of toString() method for serialization and constructor taking a string value for deserialization. - Dennis Dennis M. Sosnoski XML and Web Services in Java Training and Consulting http://www.sosnoski.com - http://www.sosnoski.co.nz Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117 Paul Mahoney wrote: > I'm trying to bind an array of BigInteger/s so used the obvious binding > construct as follows: > > ... > <mapping class="uk.co.xact.rccl.TravelerInfoSummaryType" abstract="true"> > <collection field="seatsRequestedList" > create-type="java.util.ArrayList" > item-type="java.math.BigInteger" > usage="optional"> > <structure name="SeatsRequested" /> > </collection> > </mapping> > ... > > But the JiBX compiler complains that it cannot modify > 'java.math.BigInteger'... which isn't a > surprise really. The above does compile with item-type 'java.lang.String' > which cannot be > modified either!! So what is the correct way to get a collection of > BigInteger to work? > > Many thanks in advance > > Paul > > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > jibx-users mailing list > jibx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jibx-users > > ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users