[fallside@us.ibm.com: Re: XML Schema Part 0: Primer]

I found an error in the following document:

W3C Recommendation, 2 May 2001
http://www.w3.org/TR/xmlschema-0/#Intro
Section 2.3 Simple Types
para. 3, sentence 2


It states...
----------------
We base our definition on the built-in simple type integer, whose range
of values also includes integers less than 10000 and greater than 99999.


Should read...
----------------
We base our definition on the built-in simple type integer, whose range
of values also includes integers greater than or equal to 10000 and
less than or equal to 99999.


Example code follows (for reference)
------------------------------------
<xsd:simpleType name="myInteger">
  <xsd:restriction base="xsd:integer">
    <xsd:minInclusive value="10000"/>
    <xsd:maxInclusive value="99999"/>
  </xsd:restriction>
</xsd:simpleType>


Thank you,

Mark Hurley

Received on Monday, 13 August 2001 23:00:48 UTC