Community
Participate
Working Groups
+++ This bug was initially created as a clone of Bug #327593 +++ According to the javadocs for @XmlJavaTypeAdapter, it may be used with @XmlElementRef(s) (as well as with @XmlAttribute, @XmlElement(s), and @XmlAnyElement). http://download.oracle.com/javase/6/docs/api/javax/xml/bind/annotation/XmlJavaTypeAdapter.html The oxm XML metadata does not support this use, as xml-elements elements have no xml-java-type-adapter elements as the others do. (Not sure how I missed this when entering the previous bug with xml-element-ref(s). I could have sworn I checked every attribute type.)
(removed dependencies)
*** Bug 390717 has been marked as a duplicate of this bug. ***
Created attachment 221672 [details] Patch - test fixes - 2.5
Created attachment 221673 [details] Patch - code fixes - 2.5
Fixed in 2.4 and 2.5
2.4.1 schema should not be changed.
Created attachment 221718 [details] Patch - revert oxm schema - 2.4
Fixed; reverted oxm schema to not include adapters in xml-elements. Adapters can still be used in OXM files but they not part of the schema.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink