Resolution: Won't Fix
Affects Version/s: JiBX 1.1.5
Fix Version/s: None
Environment:Windows 2k, Java 1.5.0_06, Oracle JDeveloper 10.1.3
Number of attachments :
If you have a collection unmarshalling into a typed ArrayList, and the binding file doesn't give the correct type, there is no error thrown either at bind compile time or at unmarshaling time.
and binding of
<mapping name="template" class="Template">
<value name="activeDays" type="java.lang.String" usage="optional"/>
And an xml file of:
When this is unmarshalled, the activeDays array list has one element: A string "MON". rather than the enum element MON, as expected.