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

Bug 357668

Summary: @XmlList ignored when creating abJAXBContext on TypeMappingInfo that represents an Array
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   
Whiteboard:
Attachments:
Description Flags
MOXy - Test Cases
none
MOXy - Fix none

Description Blaise Doughan CLA 2011-09-14 14:14:35 EDT
The @XmlList annotation is being ignored for TypeMappingInfos that correspond to Arrays.
Comment 1 Blaise Doughan CLA 2011-09-15 12:12:47 EDT
Created attachment 203422 [details]
MOXy - Test Cases
Comment 2 Blaise Doughan CLA 2011-09-15 12:13:09 EDT
Created attachment 203423 [details]
MOXy - Fix
Comment 3 Blaise Doughan CLA 2011-09-15 14:07:20 EDT
Fix checked into trunk at rev:  10088
Fix checked into 2.3.1 at rev:  10086

Code reviewed by: Denise Smith

Fix Details:
If the @XmlList annotation is present the property on the wrapper class is now annotated with @XmlValue instead of @XmlElement.
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:34:29 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink