Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 357637

Summary: Error on subsequent unmarshal operations if one unmarshal fails
Product: z_Archived Reporter: Denise Smith <denise.mahar>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: eclipselink.oxm-inbox
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Proposed change and new test none

Description Denise Smith CLA 2011-09-14 10:26:54 EDT
If an unmarshal operation fails the stringbuffer on the XMLUnmarshaller is not cleared and data may be left in there causing problems with subsequent unmarshal operations.
Comment 1 Denise Smith CLA 2011-09-21 13:15:33 EDT
Created attachment 203792 [details]
Proposed change and new test
Comment 2 Denise Smith CLA 2011-09-21 15:43:24 EDT
Fixed to clear the StringBuffer on XMLUnmarshaller after unmarshal operations.  Changes in DOMPlatform and SAXPlatform.
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:22:29 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink