Name

xsd:nonPositiveInteger — Integers of arbitrary length negative or equal to zero

Synopsis

<xsd:simpleType name="nonPositiveInteger” id="nonPositiveInteger">
 <xsd:restriction base="xsd:integer">
 <xsd:maxInclusive value="0"/>
 </xsd:restriction>
</xsd:simpleType>

Derived from

xsd:integer

Primary

xsd:decimal

Known subtypes

xsd:negativeInteger

Data parameters (facets)

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

Description

The value space of xsd:nonPositiveInteger includes the set of all the integers less than or equal to 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 include -123456789012345678901234567890, 0, -0000000000000000000005, and -2147483647.

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.216.131.214