June 2002
Intermediate to advanced
396 pages
11h 8m
English
xs:byte — Signed value of 8 bits.
xs:short
xs:decimal
none
xs:enumeration, xs:fractionDigits, xs:maxExclusive, xs:maxInclusive, xs:minExclusive, xs:minInclusive, xs:pattern, xs:totalDigits, xs:whiteSpace
<xs:simpleType name="byte" id="byte">
<xs:restriction base="xs:short">
<xs:minInclusive value="-128"/>
<xs:maxInclusive value="127"/>
</xs:restriction>
</xs:simpleType>The value space of xs:byte is the integers between
-128 and 127, i.e., the signed values that can fit in a word of 8
bits. Its lexical space allows an optional sign and leading zeros
before the significant digits.
The lexical space does not allow values expressed in other numeration bases (such as hexadecimal, octal, or binary).
Valid values for byte include 27, -34, +105, and 0.
Invalid values include 0A, 1524, and INF.