June 2002
Intermediate to advanced
396 pages
11h 8m
English
xs:int — 32 bit signed integers.
xs:long
xs:decimal
xs:short
xs:enumeration, xs:fractionDigits, xs:maxExclusive, xs:maxInclusive, xs:minExclusive, xs:minInclusive, xs:pattern, xs:totalDigits, xs:whiteSpace
<xs:simpleType name="int" id="int">
<xs:restriction base="xs:long">
<xs:minInclusive value="-2147483648"/>
<xs:maxInclusive value="2147483647"/>
</xs:restriction>
</xs:simpleType>The value space of xs:int is the set of common
single size integers (32 bits), i.e., the integers between
-2147483648 and 2147483647, its lexical space allows any number of
insignificant leading zeros.
The decimal point (even when followed only by insignificant zeros) is forbidden.
-0 and +0 are considered equal, which is different from the behavior
of xs:float and xs:double.
Valid values include "-2147483648",
"0", "-0000000000000000000005",
or "2147483647".
Invalid values include "-2147483649" and
"1".