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

Bug 332332

Summary: XMLAnyObjectMapping w/ default namespace passes in null namespace uri to content handler
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-10 14:14:16 EST
XMLAnyObjectMapping when marshalling an object with a default root element creates an XPathFragment but only sets the namespace uri if there was a prefix on the default root element name. However in the case of a default namespace, that uri should be set even if there is no prefix.
Comment 1 Matt MacIvor CLA 2010-12-10 14:23:14 EST
Created attachment 184981 [details]
Proposed Fix
Comment 2 Matt MacIvor CLA 2010-12-14 11:03:52 EST
Attached patch checked in to SVN
Reviewed by Blaise Doughan
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:33:33 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink