The following simple binding works when the first mapping only contains the <collection> element, but when the mapping contains both a <collection> and a <value>, JiBX returns: No unmarshaller for element "first-name" Here is the binding file:
<?xml version="1.0" encoding="UTF-8"?> <binding> <mapping class="ContactDetail" name="contact-detail" ordered="false"> <collection field="contactPoints" /> <value name="first-name" field="firstName" /> </mapping> <mapping class="ContactPoint" name="contact-point"> <value name="role-type" field="roleType" usage="optional" /> </mapping> </binding> Any thoughts? Thanks much, Kendall Buchanan
------------------------------------------------------------------------------
_______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users