Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344967 - Unmarshalling empty elements in many object not behaving correctly
Summary: Unmarshalling empty elements in many object not behaving correctly
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: Denise Smith CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-06 09:54 EDT by Denise Smith CLA
Modified: 2022-06-09 10:10 EDT (History)
0 users

See Also:


Attachments
Proposed code changes (6.30 KB, patch)
2011-05-10 12:39 EDT, Denise Smith CLA
no flags Details | Diff
Proposed test changes (76.93 KB, patch)
2011-05-10 12:40 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-05-06 09:54:07 EDT
Unmarshalling the following currently returns an empty list but should return a list with an empty string in it.
<listsTestObject>
   <strings></strings>
</listsTestObject>
Comment 1 Denise Smith CLA 2011-05-10 12:39:49 EDT
Created attachment 195242 [details]
Proposed code changes
Comment 2 Denise Smith CLA 2011-05-10 12:40:07 EDT
Created attachment 195243 [details]
Proposed test changes
Comment 3 Denise Smith CLA 2011-05-10 14:50:55 EDT
Checked in attached patches.  Unbounded elements are now nillable in generated schemas and lists will be populated with "" where appropriate.
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:10:48 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink