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 2117 - R-110b: Does the fractionDigits facet apply to the value space or lexical space?
Summary: R-110b: Does the fractionDigits facet apply to the value space or lexical space?
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 15:19 UTC by Sandy Gao
Modified: 2009-04-21 19:25 UTC (History)
0 users

See Also:


Attachments

Description Sandy Gao 2005-09-09 15:19:03 UTC
If you look at the definition of the lexical representation of decimal in 
3.2.3.1 [1], it states, in part, that "if fractionDigits is specified, the 
number of digits following the decimal point must be less than or equal to the 
fractionDigits." 

However, the description of the fractionDigits facet in 4.3.12 [2] doesn't 
mention that it constrains the lexical space in this way, i.e., by prohibiting 
excess trailing digits, including zeroes. 

[1] http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#decimal-lexical-
representation 

[2] http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#rf-fractionDigits 

See:
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0871.html
Comment 1 Sandy Gao 2005-09-09 15:19:45 UTC
Also see related question 1 from the following mail: 
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0031.html

Discussed at the May 2 concall:
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002May/0020.html.

The WG decided that the facets ought to apply to the value space and instructed 
the editors to draft erratum.

Erratum proposed:
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002May/0004.html.

Further discussion of draft erratum:
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002May/0005.html.

Resolution:
Draft errata text reviewed at May f2f. Changes agreed upon include: striking 
the misleading sentences in the description of lexical form, and changing text 
for 4.3.11, 4.3.12 and 3.2.3.1

New errata text proposed:
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002May/0051.html 

Discussed at the June 6 telecon and additional changes made. Revised text based 
on discussion posted:
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jun/0036.html 

Revised text discussed at the June 14 telecon. Ammendments suggested. 

Final text reviewed and approved at the July f2f. See
http://www.w3.org/XML/Group/2002/07/xml-schema-ftf-minutes.html#ab3b3b3b5 

Erratum E2-44 added.