W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2001

It seems to be an error in Schema for Datatype Definitions (normative)

From: Jing Wu <jing@research.canon.com.au>
Date: Thu, 22 Feb 2001 13:14:50 +1100
Message-ID: <3A94761A.F1AF18CE@research.canon.com.au>
To: xmlschema-dev@w3.org
Hi,

In "Schema for Datatype Definitions (normative)" of XML Schema Part 2,
http://www.w3.org/TR/xmlschema-2/#schema,
the simpleType "century" has facet "period" value="P100Y" as follow
------
<simpleType name="century" id="century">
      <annotation>
             <documentation xml:lang="en"
source="http://www.w3.org/TR/xmlschema-2/#century"/>
       </annotation>
       <restriction base="timePeriod">
              <period value="P100Y" fixed="true" id="century.period"/>
        </restriction>
</simpleType>
------
It should be "duration" as follow
             <duration value="P100Y" fixed="true"
id="century.duration"/>

Jing
Received on Wednesday, 21 February 2001 21:14:59 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:51 UTC