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

[Bug 2079] R-089: Is a trailing decimal point permitted for integer?

From: <bugzilla@wiggum.w3.org>
Date: Fri, 09 Sep 2005 03:13:44 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1EDZKi-0004ed-Ei@wiggum.w3.org>


           Summary: R-089: Is a trailing decimal point permitted for
           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

According to section 3.13.1, "integer is derived from decimal by fixing the 
value of fractionDigits to be 0." But a decimal with fractionDigits of 0 can 
still have a trailing decimal point (see section However, the Lexical 
representation of integer described in section doesn't mention that a 
trailing decimal point is permitted.

Does implicitly describe an additional pattern facet that is also 
applied to the decimal datatype in deriving the integer datatype, or is 3.3.13 
intended to be a complete description, while is intended to be 
expository in nature?

According to section 3.3, "the complete definitions of the built-in derived 
datatypes are provided in Appendix A." But the definition for integer that 
appears in the Schema for Datatype Definitions in Appendix A does not prohibit 
a trailing decimal point from appearing on an integer value through an 
additional pattern facet. Given this, is in error? 

Received on Friday, 9 September 2005 03:14:15 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:03 UTC