W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2000

'century' in schema for datatypes

From: Asir S Vedamuthu <asirv@webmethods.com>
Date: Thu, 14 Dec 2000 14:14:23 -0500
To: "Www-Xml-Schema-Comments@W3. Org" <www-xml-schema-comments@w3.org>
Cc: "W3c-Xml-Schema-Ig" <w3c-xml-schema-ig@w3.org>, "Ningang chen" <nchen@webmethods.com>
Message-ID: <NEBBIAMHOMNDLFMEIEBAOEMDCDAA.asirv@webmethods.com>
Reference - http://www.w3.org/TR/2000/CR-xmlschema-2-20001024/#schema

[1] <simpleType name="century" id="century">
[2]  <annotation>
[3]   <documentation xml:lang="en"
[4] </annotation>
[5] <restriction base="timePeriod">
[6]   <period value="P100Y" fixed="true" id="century.period"/>
[7] </restriction>
[8] </simpleType>

Line 6 of this simple type definition is inconsistent with prose: "century
is generated from timePeriod by fixing the value of the duration facet equal
to 'P100Y'"

Proposed resolution,

Modify the surface syntax to -
<duration value="P100Y" fixed="true" id="century.duration"/>

Regards, Asir S Vedamuthu
Received on Thursday, 14 December 2000 14:15:06 GMT

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