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

Part 2 - Clause 3.3.30

From: Michael McCaleb <mccaleb@eeel.nist.gov>
Date: Fri, 15 Dec 2000 17:11:00 -0500
Message-Id: <v0213050bb6604760feb8@[129.6.185.17]>
To: www-xml-schema-comments@w3.org
Dear XML Schema editor,

Comment:
Clause 3.3.30 of Part 2 states:

 "century is generated from timePeriod by fixing the
  value of the duration facet equal to "P100Y"."

However, Appendix A of Part 2 states:

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


The two clauses are inconsistent with regard to which facet is set to
"P100Y". Based on other declarations in appendix A, I believe that the
duration facet should be set to "P100Y".



Proposed solution:
In Appendix change:

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

to

  <simpleType name="century" id="century">
    <annotation>
      <documentation xml:lang="en"
         source="http://www.w3.org/TR/xmlschema-2/#century"/>
    </annotation>
    <restriction base="timePeriod">
      <duration value="P100Y" fixed="true" id="century.duration"/>
    </restriction>
  </simpleType>


Sincerely,

Mike McCaleb
Received on Friday, 15 December 2000 17:09:45 GMT

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