RELAX NG by Eric van der Vlist will be published by O'Reilly & Associates (ISBN: 0596004214)

You are welcome to use our annotation system to give your feedback.


Name

xsd:unsignedByte — Unsigned value of 8 bits.

Derived from:

xsd:unsignedShort

Primary:

xsd:decimal

Known subtypes:

none

Data parameters (facets):

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

Synopsis

<xsd:simpleType name="unsignedByte" id="unsignedBtype">
  <xsd:restriction base="xsd:unsignedShort">
    <xsd:maxInclusive value="255"/>
  </xsd:restriction>
</xsd:simpleType>

Description

The value space of xsd:unsignedByte is the integers between 0 and 255, i.e., the unsigned values that can fit in a word of 8 bits. Its lexical space allows an optional "+" sign and leading zeros before the significant digits.

Restrictions

The lexical space does not allow values expressed in other numeration bases (such as hexadecimal, octal, or binary).

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

Example

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

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


You are welcome to use our annotation system to give your feedback.
[Annotations for this page]
All text is copyright Eric van der Vlist, Dyomedea. During development, I give permission for non-commercial copying for educational and review purposes. After publication, all text will be released under the Free Software Foundation GFDL.