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

[Bug 2117] R-110b: Does the fractionDigits facet apply to the value space or lexical space?

From: <bugzilla@wiggum.w3.org>
Date: Fri, 09 Sep 2005 15:19:03 +0000
To: www-xml-schema-comments@w3.org
Cc:
Message-Id: <E1EDked-0007BZ-E7@wiggum.w3.org>

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

           Summary: R-110b: Does the fractionDigits facet apply to the value
                    space or lexical space?
           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


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
Received on Friday, 9 September 2005 15:19:10 GMT

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