[Bug 2100] R-110: Error in example in section 4.3.11 of Datatypes?

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2100

           Summary: R-110: Error in example in section 4.3.11 of Datatypes?
           Product: XML Schema
           Version: 1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSD Part 2: Datatypes
        AssignedTo: cmsmcq@w3.org
        ReportedBy: sandygao@ca.ibm.com
         QAContact: www-xml-schema-comments@w3.org


In the Datatypes spec, section 4.3.11, there is an example for totalDigits. It 
indicates that the example is for numbers less than 1,000,000 with 2 fraction 
digits.

  <restriction base='decimal'>
    <totalDigits value='8'/>
    <fractionDigits value='2' fixed='true'/>
  </restriction>
But "fixed" means that "fractionDigits" can't be assigned another value in 
types derived from this type; it doesn't affect the lexical or value spaces. So 
10,000,000 is allowed by the type above.

Is this an erratum?

See:
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0282.html

Received on Friday, 9 September 2005 14:39:34 UTC