Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319049 - Empty attribute & element should unmarshal as 0 for numeric types
Summary: Empty attribute & element should unmarshal as 0 for numeric types
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-06 15:57 EDT by Blaise Doughan CLA
Modified: 2022-06-09 10:24 EDT (History)
1 user (show)

See Also:


Attachments
MOXy - Test Cases (4.04 KB, patch)
2010-10-26 16:16 EDT, Blaise Doughan CLA
no flags Details | Diff
Core - Fix (7.34 KB, patch)
2010-10-26 16:17 EDT, Blaise Doughan CLA
no flags Details | Diff

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