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


Name

xsd:negativeInteger — Strictly negative integers of arbitrary length

Synopsis

<xsd:simpleType name="negativeInteger" id="negativeInteger">
 <xsd:restriction base="xsd:nonPositiveInteger">
 <xsd:maxInclusive value="-1"/>
 </xsd:restriction>
</xsd:simpleType>

Derived from

xsd:nonPositiveInteger

Primary

xsd:decimal

Known subtypes

None

Data parameters (facets)

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

Description

The value space of xsd:negativeInteger includes the set of all the strictly negative integers (excluding zero), with no restriction of range. 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 for xsd:negativeInteger include -123456789012345678901234567890, -1, and -0000000000000000000005.

Invalid values include 0 or -1..


This text is released under the Free Software Foundation GFDL.