<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>2079</bug_id>
          
          <creation_ts>2005-09-09 03:13:43 +0000</creation_ts>
          <short_desc>R-089: Is a trailing decimal point permitted for integer?</short_desc>
          <delta_ts>2009-04-21 19:24:58 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Schema</product>
          <component>Datatypes: XSD Part 2</component>
          <version>1.0 only</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sandy Gao">sandygao</reporter>
          <assigned_to name="C. M. Sperberg-McQueen">cmsmcq</assigned_to>
          
          
          <qa_contact name="XML Schema comments list">www-xml-schema-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>5969</commentid>
    <comment_count>0</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-09 03:13:43 +0000</bug_when>
    <thetext>According to section 3.13.1, &quot;integer is derived from decimal by fixing the 
value of fractionDigits to be 0.&quot; 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&apos;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, &quot;the complete definitions of the built-in derived 
datatypes are provided in Appendix A.&quot; 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5970</commentid>
    <comment_count>1</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-09 03:14:10 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>