W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2005

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

From: <bugzilla@wiggum.w3.org>
Date: Fri, 09 Sep 2005 14:39:22 +0000
To: www-xml-schema-comments@w3.org
Cc:
Message-Id: <E1EDk2E-00062x-KD@wiggum.w3.org>

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 GMT

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