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

Bug 353763

Summary: Error unmarshalling list of XML attributes
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   
URL: http://stackoverflow.com/questions/6907225/with-moxy-and-xpath-is-it-possible-to-unmarshal-a-list-of-attributes
Whiteboard:
Attachments:
Description Flags
Code demonstrating the bug
none
Proposed changes and tests none

Description Blaise Doughan CLA 2011-08-03 09:31:39 EDT
See attached code that demonstrates the issue.
Comment 1 Blaise Doughan CLA 2011-08-03 09:45:31 EDT
Created attachment 200811 [details]
Code demonstrating the bug
Comment 2 Denise Smith CLA 2011-08-03 11:33:19 EDT
Created attachment 200825 [details]
Proposed changes and tests
Comment 3 Denise Smith CLA 2011-08-03 13:00:01 EDT
Fixed.  Change to DOMReader to check the attr.getNodeName if attr.getLocalName is null.  attr.getLocalName will be null if the parser is not namespaceaware.
Comment 4 Denise Smith CLA 2011-08-03 15:13:35 EDT
Fixed in 2.3.1 and trunk (2.4)
Comment 5 Eclipse Webmaster CLA 2022-06-09 10:35:59 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink