Community
Participate
Working Groups
According to the javadocs for @XmlAnyElement, it may be used with @XmlElementRef(s). http://download.oracle.com/javase/6/docs/api/javax/xml/bind/annotation/XmlAnyElement.html The oxm XML metadata does not support this cross-use, as xml-any-element has no xml-element-ref elements and xml-element-ref(s) has no xml-any-element tag.
Created attachment 181412 [details] Contains fix and supporting test cases This patch also resolves: https://bugs.eclipse.org/bugs/show_bug.cgi?id=327591 https://bugs.eclipse.org/bugs/show_bug.cgi?id=328285
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