Name

xs:unsignedShort — Unsigned integer of 16 bits.

Derived from:

xs:unsignedInt

Primary:

xs:decimal

Known subtypes:

xs:unsignedByte

Facets:

xs:enumeration, xs:fractionDigits, xs:maxExclusive, xs:maxInclusive, xs:minExclusive, xs:minInclusive, xs:pattern, xs:totalDigits, xs:whiteSpace

<xs:simpleType name="unsignedShort" id="unsignedShort">
  <xs:restriction base="xs:unsignedInt">
    <xs:maxInclusive value="65535"/>
  </xs:restriction>
</xs:simpleType>

Description

The value space of xs:unsignedShort is the integers between 0 and 65535, i.e., the unsigned values that can fit in a word of 16 bits. Its lexical space allows an optional “+” sign and leading zeros before the significant digits.

Restrictions

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

Example

Valid values include "65535", "0", "+0000000000000000000005", or "1".

Invalid values include "-1" and "1." .

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.223.125.219