by Eric van der Vlist is published by O'Reilly & Associates (ISBN: 0596004214)


Name

xsd:short — 32-bit signed integers

Synopsis

<xsd:simpleType name="short" id="short">
 <xsd:restriction base="xsd:int">
 <xsd:minInclusive value="-32768"/>
 <xsd:maxInclusive value="32767"/>
 </xsd:restriction>
</xsd:simpleType>

Derived from

xsd:int

Primary

xsd:decimal

Known subtypes

xsd:byte

Data parameters (facets)

enumeration, fractionDigits, maxExclusive, maxInclusive, minExclusive, minInclusive, pattern, totalDigits

Description

The value space of xsd:short is the set of common short integers (16 bits)—the integers between -32768 and 32767. Its lexical space allows any number of insignificant leading zeros.

Restrictions

The decimal point (even when followed only by insignificant zeros) is forbidden.

Example

Valid values include -32768, 0, -0000000000000000000005, and 32767.

Invalid values include 32768 and 1..


This text is released under the Free Software Foundation GFDL.