Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363103 - [Validation] Incorrect validation against @XmlIDREF
Summary: [Validation] Incorrect validation against @XmlIDREF
Status: VERIFIED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JAXB (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 3.1 RC1   Edit
Assignee: Paul Fullbright CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-07 16:36 EST by Nan Li CLA
Modified: 2011-12-02 11:50 EST (History)
2 users (show)

See Also:


Attachments
Repository (6.88 KB, application/zip)
2011-11-07 16:37 EST, Nan Li CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nan Li CLA 2011-11-07 16:36:37 EST
Build Identifier: I-3.1.0-20111103164637

1. Import the attached project to workspace
2. Go to Problems view, there is an error message saying 

In order to be used with XmlIDREF, The schema type of 'managedEmployees' must be 'IDREF'.

3. Open the EmpXMLSchema.xsd, the schema type of 'managedEmployees' actually is IDREF.

This happens when defining the type of the field or property as collection type, e.g. List.


Reproducible: Always
Comment 1 Nan Li CLA 2011-11-07 16:37:55 EST
Created attachment 206553 [details]
Repository
Comment 2 Paul Fullbright CLA 2011-11-11 11:42:07 EST
Resolved in 3.1 RC1
Comment 3 Jolene Moffitt CLA 2011-12-02 11:50:20 EST
Verified in Build S-3.1.0-20111117042513 

Verified when you import the attached project the - In order to be used with XmlIDREF, The schema type of 'managedEmployees' must be 'IDREF' - error does not appear in Problem pane.  See the link to view test steps for verification. http://wiki.eclipse.org/Dali_3.1_RC1