This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 2100 - R-110: Error in example in section 4.3.11 of Datatypes?
Summary: R-110: Error in example in section 4.3.11 of Datatypes?
Status: CLOSED FIXED
Alias: None
Product: XML Schema
Classification: Unclassified
Component: Datatypes: XSD Part 2 (show other bugs)
Version: 1.0 only
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: C. M. Sperberg-McQueen
QA Contact: XML Schema comments list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-09 14:39 UTC by Sandy Gao
Modified: 2009-04-21 19:25 UTC (History)
0 users

See Also:


Attachments

Description Sandy Gao 2005-09-09 14:39:22 UTC
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
Comment 1 Sandy Gao 2005-09-09 14:39:40 UTC
Resolved at the March 22 telecon to classify R-110 as an error with erratum. 

Status 04/24: Erratum text proposed:
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Apr/0053.html 

Discussed at the June 6 telecon. The WG decided that the example is best 
removed. Final revised text:
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jun/0037.html 

Erratum E2-21 added.