<?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>2087</bug_id>
          
          <creation_ts>2005-09-09 03:27:50 +0000</creation_ts>
          <short_desc>R-097: Problem with canonical rep&apos;n of float/double</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>5982</commentid>
    <comment_count>0</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-09 03:27:50 +0000</bug_when>
    <thetext>The existing text for the canonical representation for float/double reads:

Specifically, the exponent must be indicated by &quot;E&quot;. Leading zeroes and the 
preceding optional &quot;+&quot; sign are prohibited in the exponent. For the mantissa, 
the preceding optional &quot;+&quot; sign is prohibited and the decimal point is 
required. For the exponent, the preceding optional &quot;+&quot; sign is prohibited. 
Leading and trailing zeroes are prohibited subject to the following: number 
representations must be normalized such that there is a single digit to the 
left of the decimal point and at least a single digit to the right of the 
decimal point. 
The problem is that the single digit to the left of the decimal point is 
allowed to be zero. This allows 1.0E1, 0.1E02 and 0.01E3 etc. as legal 
canonical representations for the same number.

See the following for a suggested resolution: 
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0214.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5983</commentid>
    <comment_count>1</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-09 03:30:06 +0000</bug_when>
    <thetext>Discussed at the Feb. 14 concall:
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Feb/0087.html 

The WG agreed that this is an error. Datatypes editors to draft erratum 
similiar to what was proposed in the email. 

Status 04/24: Erratum text has been proposed as part of the text for issue R-22 
(see bug 2000 and E2-40)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>