Part 2 - Clause 3.3.30

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 UTC