Community
Participate
Working Groups
ex: public class SuperFoo { @XmlAnyAttribute public HashMap others; } When creating JAXB context for this root class, the following exception is logged. javax.xml.bind.JAXBException: Exception Description: XmlAnyAttribute is invalid on property others. Must be used with a property of type Map. I tried also with SortedMap and TreeMap. The RI allows this.
Created attachment 209023 [details] Proposed patch
Reviewed by rbarkhouse - patch is good, JUnit and JAXB TCK all pass.
Fixed in main trunk with r10649.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink