xs:short
The xs:short
type indicates a signed integer small enough to be
represented as a two-byte, two's complement number such as Java's
short
primitive data type. It
is derived from xs:int
by
setting the maxInclusive
facet
to 32767 and the minInclusive
facet to -32768. These are all legal values of type xs:int
:
2000
+2000
-2000
32767
-32768
0
Constraining facets that apply to xs:short
are minInclusive
, maxInclusive
, minExclusive
, maxExclusive
, pattern
, enumeration
, whiteSpace
, and totalDigits
.