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

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 UTC