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

Bug 332230

Summary: XMLCompositeObjectMapping: Self mapping to node doesn't write out attributes
Product: z_Archived Reporter: Matt MacIvor <matt.macivor>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
proposed fix none

Description Matt MacIvor CLA 2010-12-09 13:04:17 EST
When using an xpath of '.' on a CompositeObjectMapping with a KeepAsElementPolicy, the attributes from the node should be marshalled out. These are being omitted in the marshalSelfAttributes method on XMLCompositeObejctMappingNodeValue
Comment 1 Matt MacIvor CLA 2010-12-09 13:34:58 EST
Created attachment 184883 [details]
proposed fix
Comment 2 Matt MacIvor CLA 2010-12-09 15:02:05 EST
Attached patch checked in to SVN
Reviewed by Blaise Doughan
Comment 3 Matt MacIvor CLA 2010-12-09 15:03:14 EST
closing as fixed
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:23:54 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink