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

Bug 319049

Summary: Empty attribute & element should unmarshal as 0 for numeric types
Product: z_Archived Reporter: Blaise Doughan <blaise.doughan>
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 XP   
Whiteboard:
Attachments:
Description Flags
MOXy - Test Cases
none
Core - Fix none

Description Blaise Doughan CLA 2010-07-06 15:57:02 EDT
<customer id=""><age></age></customer>

If the properties corresponding to id & age in the above document are numeric types, then their values should be set to 0 when unmarshalling the above document.
Comment 1 Blaise Doughan CLA 2010-10-26 16:16:55 EDT
Created attachment 181774 [details]
MOXy - Test Cases
Comment 2 Blaise Doughan CLA 2010-10-26 16:17:43 EDT
Created attachment 181775 [details]
Core - Fix
Comment 3 Blaise Doughan CLA 2010-11-02 10:28:06 EDT
Fix checked into trunk at rev:  8455
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:24:59 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink