<?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>5601</bug_id>
          
          <creation_ts>2008-04-01 16:13:52 +0000</creation_ts>
          <short_desc>[FS] Error in C.2 Mapping of Overloaded Internal Functions</short_desc>
          <delta_ts>2008-08-17 05:38:53 +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>Formal Semantics 1.0</component>
          <version>Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</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="Tim Mills">tim</reporter>
          <assigned_to name="Michael Dyck">jmdyck</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>19681</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2008-04-01 16:13:52 +0000</bug_when>
    <thetext>In F&amp;O, op:numeric-divide says:

&quot;As a special case, if the types of both $arg1 and $arg2 are xs:integer, then the return type is xs:decimal.&quot;

But in FS C.2 Mapping of Overloaded Internal Functions, the table says that it returns xs:double.

fs:div(A, B) 	xs:integer 	xs:integer 	op:numeric-divide(A, B) 	xs:double</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19950</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2008-04-26 01:50:35 +0000</bug_when>
    <thetext>Yes, that looks like a mistake all right.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19989</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2008-04-29 18:50:24 +0000</bug_when>
    <thetext>At their meeting today, the WGs agreed that it&apos;s a mistake, and approved changing that item in FS C.2 to agree with F+O. Consequently, I&apos;m marking this issue resolved-FIXED. If you agree with this resolution, please mark it CLOSED.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19994</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2008-04-30 06:28:18 +0000</bug_when>
    <thetext>Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21580</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2008-08-17 05:38:53 +0000</bug_when>
    <thetext>This issue has been entered as FS erratum E025, and its fix has been
committed to the source files for the next edition of the FS document.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>