Community
Participate
Working Groups
In Dynamic JAXB we have no way of finding the type of the Java attribute specified in an xml-elements element in OXM. We will need to add a 'type' attribute to xml-elements, so that we can override the java.lang.Object Java attribute that is initially present in Dynamic JAXB.
Since xml-elements is intended to be used on a collection, would you require container-type as well?
It appears as if we've already done container-type, so that is not an issue. Type is however: according to the spec, if the type is known then the XmlElements list has to be of size 1, and the rules for XmlElement mapping applies. Type doesn't seem necessary in this case.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink