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

Bug 336163

Summary: validation error for XmlList on a non-Collection does not mention arrays
Product: z_Archived Reporter: Karen Butzke <karenfbutzke>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: david.mccann
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Contains proposed fix. none

Description Karen Butzke CLA 2011-02-02 16:41:05 EST
@XmlList on an attribute that is not a Collection or an array has a validation error:
"XmlList is only allowed on a collection property but [names] is not a collection property."

This should mention array as well like the XmlElementWrapper validation:
"XmlElementWrapper is only allowed on a collection or array property but [names] is not a collection or array property."
Comment 1 David McCann CLA 2011-02-03 16:24:10 EST
Created attachment 188277 [details]
Contains proposed fix.
Comment 2 David McCann CLA 2011-02-03 16:31:09 EST
Reviewed by:  matt.macivor@oracle.com
Tests:  all unit tests pass as expected
Revision: 8932
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:23:27 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink