Community
Participate
Working Groups
We will need to add a 'type' to xml-value, so that we can override the java.lang.Object Java attribute that is initially present in Dynamic JAXB.
Created attachment 176707 [details] Contains proposed fix + test case modifications We now check XmlValue for type, and if not "##default" we set this type on the associated Property. Test case mods: set type in java model to Object, and set type in xml to java.lang.BigDecimal. If the type set in XML isn't processed an error will occur in the schema gen/comparison area of the test suite.
Created attachment 176708 [details] Contains proposed fix + supporting test cases + XSD changes We now check XmlValue for type, and if not "##default" we set this type on the associated Property. Test case mods: set type in java model to Object, and set type in xml to java.lang.BigDecimal. If the type set in XML isn't processed an error will occur in the schema gen/comparison area of the test suite.
Fix checked in to trunk, Revision 8048. Reviewed by: matt.macivor@oracle.com, rick.barkhouse@oracle.com Tests: all unit tests pass as expected; jaxb/externalizedmetadata/xmlvalue/XmlValueTestCases
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink