Community
Participate
Working Groups
If an annotation has the namespace set to http://www.w3.org/XML/1998/namespace ie: @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") public String lang; The following error will occur javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: The prefix "xml" cannot be bound to any namespace other than its usual namespace; neither can the namespace for "xml" be bound to any prefix other than "xml".
Created attachment 201182 [details] Proposed changes and test
Created attachment 201185 [details] Updated patch
Added a new test case for this issue. Modifications to XMLConstants, SchemaGenerator and MappingsGenerator. Fixed in 2.3 and 2.4
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink