<?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>1411</bug_id>
          
          <creation_ts>2005-05-13 20:20:51 +0000</creation_ts>
          <short_desc>Constructing positive and negative zero -- Schema 1.1</short_desc>
          <delta_ts>2005-09-29 11:05:18 +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>http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2005Apr/0054.html</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="Ashok Malhotra">ashok.malhotra</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>3340</commentid>
    <comment_count>0</comment_count>
    <who name="Ashok Malhotra">ashok.malhotra</who>
    <bug_when>2005-05-13 20:20:51 +0000</bug_when>
    <thetext>&gt;xs:float ($arg  as  xdt:anyAtomicType? ) as  xs:float?
&gt;Implementations ·may· return negative zero for xs:float(&quot;-0.0E0&quot;).
&gt;xs:double ($arg  as  xdt:anyAtomicType? ) as  xs:double?
&gt;Implementations ·may· return negative zero for xs:double(&quot;-0.0E0&quot;).

In Schema 1.1, float and double distinguish between 0 and -0; we would
*expect* implementations to return negative zero for xs:float(&apos;-0.0E0&apos;)
and xs:double(&apos;-0.0E0&apos;).  [I suspect this applies elsewhere as well;
I&apos;m not going to search down every instance of &quot;allowing&quot; negative
zero. 

Dave Peterson for the XML Schema WG</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3106</commentid>
    <comment_count>1</comment_count>
    <who name="Ashok Malhotra">ashok.malhotra</who>
    <bug_when>2005-05-19 15:07:41 +0000</bug_when>
    <thetext>This was discussed at the joint QT WGs meeting on 5/18/2005 and it was decided
to add explanatory notes where needed saying that this was due to the fact that
XML Schema 1.0 does not distinguish the values positive and negative zero.

Ashok Malhotra</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>