Community
Participate
Working Groups
When a ValidationEvent is thrown on a marshal operation, the correponding object is not being set on the ValidationEventLocator.
Created attachment 184797 [details] Core - Fix
Created attachment 184798 [details] MOXy - Fix
Created attachment 184818 [details] MOXy - Test Cases
Code checked into trunk at rev: 8670 Code reviewed by: Matt MacIvor Fix details: ValidatingMarshalRecord - Introduced a subclass of SAXParseException (ValidatingMarshalRecord.MarshalSAXParseException) with a property for holding the relevant object. - Introduced an ErrorHandler that converts instances of SAXParseException to MarshalSAXParseException. The relevant object is obtained from the MarshalRecord. MarshalRecord - The MarshalRecord was not maintaining the correct owning object. This has been addressed by adding two new methods to marshal record: beforeContainmentMarshal & afterContainmentMarshal. - These methods are also responsible for call the Marshal Listener. Node Values - These classes have been updated to call the new methods on MarshalRecord.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink