Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332332 - XMLAnyObjectMapping w/ default namespace passes in null namespace uri to content handler
Summary: XMLAnyObjectMapping w/ default namespace passes in null namespace uri to cont...
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-12-10 14:14 EST by Matt MacIvor CLA
Modified: 2022-06-09 10:33 EDT (History)
0 users

See Also:


Attachments
Proposed Fix (2.50 KB, patch)
2010-12-10 14:23 EST, Matt MacIvor CLA
no flags Details | Diff

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