I would prefer not to change the code since I have to be backward
compatible with our current solution (Castor)...

Isn't there a way to tell JiBX to simply ignore a collection when
there is nothing in the XML?

It should be like that by default...

Christian

Serkan Camurcuoglu wrote:
> I guess you can use a set-method for this collection and you can assign
> an empty collection if the given collection is null. You may want to
> have a look at the documentation of the set-method attribute at
> http://jibx.sourceforge.net/details/binding-attributes.html#property

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to