Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357637 - Error on subsequent unmarshal operations if one unmarshal fails
Summary: Error on subsequent unmarshal operations if one unmarshal fails
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-14 10:26 EDT by Denise Smith CLA
Modified: 2022-06-09 10:22 EDT (History)
1 user (show)

See Also:


Attachments
Proposed change and new test (28.86 KB, patch)
2011-09-21 13:15 EDT, Denise Smith CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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