Community
Participate
Working Groups
According to the javadocs for @XmlMixed, it may be used with @XmlElementRef(s) (as well as with @XmlAnyElement). http://download.oracle.com/javase/6/docs/api/javax/xml/bind/annotation/XmlMixed.html The oxm XML metadata does not support this use, as xml-element-ref(s) elements have no xml-mixed attribute as xml-any-element does.
Created attachment 181413 [details] Contains fix and supporting test cases This patch also resolves: https://bugs.eclipse.org/bugs/show_bug.cgi?id=328285 https://bugs.eclipse.org/bugs/show_bug.cgi?id=327590
Reviewed by: matt.macivor@oracle.com; blaise.doughan@oracle.com Tests: all unit tests pass as expected; jaxb/externalizedmetadata/xmlanyelement/XmlAnyElementTestCases; jaxb/externalizedmetadata/xmlelementrefs/XmlElementRefsTestCases
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink