← Prev in month ← Prev in thread

Mapping of signed and unsigned integer values

From
Bryan Aupperle <>
Date
2008-05-16T16:34:57+00:00
ID
Thread
Mapping of signed and unsigned integer values
I was looking at the SDO integer types
and had a couple of questions.

Currently the SDO type Byte is defined
as an 8-bit unsigned integer, while Short, Int, and Long are 16,
32 and 64 bit signed integers respectively

Why are the not any SDO types for unsigned
16, 32, and 64 bit integers (which are valid XSD types)?  Or for
that matter an 8-bit signed integer (which is what XSD:byte is)?

A related concern the mapping of XSD:byte
to SDO Byte appears to be an error since -123 would be a valid value in
the XML document but not in the SDO instance.

I suspect this topic has already been
covered in earlier discussions so I did not want to open an issues unless
there is general agreement additional SDO types are needed.

Bryan Aupperle, Ph.D.

STSM, WebSphere Enterprise Platform Software Solution Architect

Research Triangle Park,  NC 

+1 919-254-7508 (T/L 444-7508)

Internet Address: 
← Prev in month ← Prev in thread