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

Bug 357381

Summary: @XmlSchemaType(name="unsignedShort") ignored for char field/property
Product: z_Archived Reporter: Blaise Doughan <blaise.doughan>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: david.twelves, denise.mahar, rick.barkhouse
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch
none
Proposed changes -trunk none

Description Blaise Doughan CLA 2011-09-12 10:06:10 EDT
Currently the @XmlSchemaType annotation is ignored for fields and properties of type char.  It should be possible for example to set the schema type to be xsd:unsignedShort.

Additionally other numeric types should be supported (i.e. integer, positiveInteger, nonNegativeInteger, byte, short, int, long, unsignedByte, unsignedInt, unsignedLong, decimal, float, double.
Comment 1 Rick Barkhouse CLA 2011-09-12 11:20:43 EDT
Created attachment 203167 [details]
Patch
Comment 2 Denise Smith CLA 2013-03-04 16:13:45 EST
Created attachment 227905 [details]
Proposed changes -trunk
Comment 3 Denise Smith CLA 2013-03-05 10:47:41 EST
Fix checked in to 2.4 and trunk
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:27:12 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink