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

Bug 346276

Summary: JAXB Externalized Metadata: Should support xml-schema-type with xml-id
Product: z_Archived Reporter: David McCann <david.mccann>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed fix.
none
Supporting test cases. none

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