Community
Participate
Working Groups
From the RI: The @XmlLocation can be specified on: - a field whose type is org.xml.sax.Locator, or - a method that takes a Locator as the sole parameter When a class that contains such a field/method is unmarshalled, such a field/method will receive an immutable Locator object that describes the location in the XML document where the object is unmarshalled from.
Design documentation: http://wiki.eclipse.org/EclipseLink/Development/355766
Created attachment 204616 [details] Patch - test cases
Created attachment 204617 [details] Patch - code changes
Created attachment 204669 [details] Patch - test cases
Created attachment 204670 [details] Patch - code changes
Created attachment 204696 [details] Patch - test cases
Created attachment 204697 [details] Patch - code changes
Created attachment 205564 [details] Patch - test cases
Created attachment 205565 [details] Patch - code changes
Created attachment 205654 [details] Patch - code changes
Created attachment 205655 [details] Patch - test changes
Created attachment 205728 [details] Patch - test changes
Created attachment 205729 [details] Patch - code changes
Created attachment 205844 [details] Patch - code changes
Completed, reviewed by bdoughan.
Reopening this, as we don't have support for the actual Sun annotation.
Created attachment 215421 [details] Additional Patch to support Sun annotation
AnnotationsProcessor will now recognize com.sun.xml.bind.annotation.XmlLocation and com.sun.xml.internal.bind.annotation.XmlLocation.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink