W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2001

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

From: Mark Hurley <debian4tux@telocity.com>
Date: Mon, 13 Aug 2001 23:00:07 -0400
To: www-xml-schema-comments@w3.org
Message-ID: <20010813230007.A4177@telocity.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:51 GMT