<?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>1444</bug_id>
          
          <creation_ts>2005-05-14 00:09:35 +0000</creation_ts>
          <short_desc>[FO] Editorial: canonical forms of (-)0e0</short_desc>
          <delta_ts>2005-09-29 11:16:00 +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>Functions and Operators 1.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="Ashok Malhotra">ashok.malhotra</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>3240</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Rys">mrys</who>
    <bug_when>2005-05-14 00:09:35 +0000</bug_when>
    <thetext>The casting to string and untypedAtomic still contains the two sentences &quot;The 
canonical form of positive zero is &quot;0.0E0&quot;. The canonical form for negative 
zero is &quot;-0.0E0&quot;. &quot; Since earlier rules handle these two cases, these two 
lines can be deleted.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3220</commentid>
    <comment_count>1</comment_count>
    <who name="Ashok Malhotra">ashok.malhotra</who>
    <bug_when>2005-05-18 22:31:54 +0000</bug_when>
    <thetext>I&apos;m sorry but I disagree.  The canonical form for float/double is defined in
this paragraph.  The forms for positive and negative zero are specially called
out as these are special values.  Smart users may be able to infer these forms
from the preceding general rules but a bit of redundancy does no harm.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3221</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Rys">mrys</who>
    <bug_when>2005-05-19 03:17:46 +0000</bug_when>
    <thetext>Sorry, but there is currently a contradiction.

xs:string(-0e0) should return &quot;-0&quot; and not &quot;-0e0&quot; according to the earlier 
parts of the spec. Talking about the canonical form in that place is 
misleading and contradicts the earlier casting rules.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3127</commentid>
    <comment_count>3</comment_count>
    <who name="Ashok Malhotra">ashok.malhotra</who>
    <bug_when>2005-05-19 22:28:15 +0000</bug_when>
    <thetext>Now, with the fuller explanation, this makes sense.  Fixed!

Ashok Malhotra</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>