Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346276 - JAXB Externalized Metadata: Should support xml-schema-type with xml-id
Summary: JAXB Externalized Metadata: Should support xml-schema-type with xml-id
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-18 11:09 EDT by David McCann CLA
Modified: 2022-06-09 10:35 EDT (History)
0 users

See Also:


Attachments
Proposed fix. (1.91 KB, patch)
2011-05-19 14:08 EDT, David McCann CLA
no flags Details | Diff
Supporting test cases. (15.49 KB, patch)
2011-05-19 14:09 EDT, 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 David McCann CLA 2011-05-18 11:09:27 EDT
We currently set the schema type to xs:ID if a field/property is set as xml-id.  The user should be able to control the schema type via xml-schema-type.  Annotations will support this as well.
Comment 1 David McCann CLA 2011-05-19 14:08:58 EDT
Created attachment 196147 [details]
Proposed fix.
Comment 2 David McCann CLA 2011-05-19 14:09:10 EDT
Created attachment 196148 [details]
Supporting test cases.
Comment 3 David McCann CLA 2011-05-19 14:39:07 EDT
Reviewed by: blaise.doughan@oracle.com
Tests:  all unit tests pass as expected; XmlSchemaTypeTestCases
Revision: 9427
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:35:43 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink