Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336163 - validation error for XmlList on a non-Collection does not mention arrays
Summary: validation error for XmlList on a non-Collection does not mention arrays
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-02 16:41 EST by Karen Butzke CLA
Modified: 2022-06-09 10:23 EDT (History)
1 user (show)

See Also:


Attachments
Contains proposed fix. (2.19 KB, patch)
2011-02-03 16:24 EST, David McCann CLA
no flags Details | Diff

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