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 2079 - R-089: Is a trailing decimal point permitted for integer?
Summary: R-089: Is a trailing decimal point permitted for integer?
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 03:13 UTC by Sandy Gao
Modified: 2009-04-21 19:24 UTC (History)
0 users

See Also:


Attachments

Description Sandy Gao 2005-09-09 03:13:43 UTC
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 3.2.3.1). However, the Lexical 
representation of integer described in section 3.3.13.1 doesn't mention that a 
trailing decimal point is permitted.

Does 3.3.13.1 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 3.3.13.1 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 3.3.13.1 in error? 

See:
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0099.html
Comment 1 Sandy Gao 2005-09-09 03:14:10 UTC
Discussed at the Feb. 14 concall:
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Feb/0087.html 

Resolution
The WG resolved that a trailing decimal point is not permitted, and the editors 
will draft an erratum changing the schema for schemas, adding a pattern facet 
to the derivation of integer.

April 5: the WG reviewed proposed erratum text and decided that it needed to be 
revised to add a replacement for the first sentence of section 3.3.13. 

See proposed text at:
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Sep/0121.html 

Sept. 26 concall: RESOLVED: approve the correction for R-89 as drafted.

Erratum E2-43 added.