Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357381 - @XmlSchemaType(name="unsignedShort") ignored for char field/property
Summary: @XmlSchemaType(name="unsignedShort") ignored for char field/property
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-09-12 10:06 EDT by Blaise Doughan CLA
Modified: 2022-06-09 10:27 EDT (History)
3 users (show)

See Also:


Attachments
Patch (2.98 KB, patch)
2011-09-12 11:20 EDT, Rick Barkhouse CLA
no flags Details | Diff
Proposed changes -trunk (14.63 KB, patch)
2013-03-04 16:13 EST, Denise Smith CLA
no flags Details | Diff

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