Community
Participate
Working Groups
Reduce the number of namespace declarations being rewritten in an XML document by calculating what we need where possible in advance. In JAXB namespaceresovlers on descriptors can have all referenced children`s (and grandchildren) namespaces added to their namespaceresolver to help with this. Additionally don`t necessarily add an objects targetNamespace to it`s own namespaceresolver. Don`t add xsi namespace to a namespaceresolver just because it`s nillable or has inheritance. Instead modify OXM to add those namespaces declarations on the fly if needed.
Created attachment 206987 [details] Proposed changes
Created attachment 206988 [details] Test case changes
Created attachment 207241 [details] Additional change to XMLObjectBuilder
Fixed in 2.3, Bug 364203 opened to track required changes in 2.4
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink