<?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>1464</bug_id>
          
          <creation_ts>2005-05-18 19:06:11 +0000</creation_ts>
          <short_desc>[XSLT] Typo in formating a float?</short_desc>
          <delta_ts>2005-07-22 16:19:20 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>XSLT 2.0</component>
          <version>Last Call drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</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="Michael Rys">mrys</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>3194</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Rys">mrys</who>
    <bug_when>2005-05-18 19:06:11 +0000</bug_when>
    <thetext>16.4.4 Formatting the Number:

Should the following text 
&quot;the one that is chosen should be one with the smallest possible number of 
digits not counting leading or trailing zeroes. (For example, 1.0 is preferred 
to 0.9999999999, and 100000000 is preferred to 100000001.) &quot;

be

&quot;the one that is chosen should be one with the smallest possible number of 
digits not counting leading or trailing zeroes. (For example, 1.0 is preferred 
to 0.9999999999, and 1.00000000 is preferred to 1.00000001.) &quot;
?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5022</commentid>
    <comment_count>1</comment_count>
    <who name="Sharon Adler">sca.w3c</who>
    <bug_when>2005-07-20 20:15:32 +0000</bug_when>
    <thetext>Michael, this was intentional - not a typo - thanks for your concern.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5025</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Rys">mrys</who>
    <bug_when>2005-07-20 20:28:10 +0000</bug_when>
    <thetext>It may be better than to use 1.0E8 is preferred over 1.00000001E8.

Best regards
Michael</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5087</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2005-07-21 20:19:12 +0000</bug_when>
    <thetext>Clearly examples are non-normative, and are there only to help the reader to
understand the normative text. The normative text here is &quot;the smallest possible
number of digits not counting leading or trailing zeroes&quot;, and the example
&quot;100000000 is preferred to 100000001&quot; was chosen deliberately to make it clear
that by &quot;leading or trailing zeros&quot; we mean significant as well as
non-significant leading or trailing zeros. Your alternative examples are
correct, but don&apos;t make the point that we were trying to make.

But thanks for your concern.

Michael Kay
(as Editor, XSLT 2.0)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5089</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Rys">mrys</who>
    <bug_when>2005-07-21 20:29:01 +0000</bug_when>
    <thetext>Sorry, but this does not make sense as written. Leading and trailing zeros are 
normally understood to be only the ones that are insignificant. Since you say 
that the example is non-normative, you should make it clear in the normative 
part and explain in the example, that you count the zeros for 100000001 but 
not the ones in 10000000. 


</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5105</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2005-07-21 21:35:35 +0000</bug_when>
    <thetext>It&apos;s precisely because many readers might wrongly assume that &quot;leading and
trailing zeros&quot; means &quot;insignificant leading and trailing zeros&quot; that we have
added examples to demonstrate that we mean exactly what we say, and not
something different that the reader might have assumed.

Michael Kay</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5106</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Rys">mrys</who>
    <bug_when>2005-07-21 21:37:30 +0000</bug_when>
    <thetext>But the example is not self-explanatory since you do not make it explicit in 
the normative part. At least not to me and probably many other readers either.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5118</commentid>
    <comment_count>7</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2005-07-22 00:15:50 +0000</bug_when>
    <thetext>I will add the redundant qualifier &quot;(whether significant or insignificant)&quot; for
the benefit of readers who need it spelled out.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5144</commentid>
    <comment_count>8</comment_count>
    <who name="Sharon Adler">sca.w3c</who>
    <bug_when>2005-07-22 16:19:20 +0000</bug_when>
    <thetext>With Michael Kay&apos;s final comment I would expect that this now satisfies your 
comment.  I will close it - reopen if you must.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>