<?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>3652</bug_id>
          
          <creation_ts>2006-09-04 15:02:08 +0000</creation_ts>
          <short_desc>Problems with binary operators table in C.2</short_desc>
          <delta_ts>2006-10-19 22:38:22 +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>Candidate Recommendation</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="Oliver Hallam">oliver</reporter>
          <assigned_to name="Jerome Simeon">simeon</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>11373</commentid>
    <comment_count>0</comment_count>
    <who name="Oliver Hallam">oliver</who>
    <bug_when>2006-09-04 15:02:08 +0000</bug_when>
    <thetext>There are several errors in the binary operators table in section C.2:

for fs:minus(A, B) with xs:dateTime arguments:
&quot;fn:get-dayTimeDuration-from-dateTimes(A, B)&quot; should be &quot;fn:subtract-dateTimes(A, B)&quot;.

For fs:eq with xs:string arguments
&quot;op:numeric-equal(fn:compare(A, B), 1)&quot; should be &quot;op:numeric-equal(fn:compare(A, B), 0)&quot;.

For fs:ne with xs:string arguments
&quot;fn:not(op:numeric-equal(fn:compare(A, B), 1))&quot; should be &quot;fn:not(op:numeric-equal(fn:compare(A, B), 0))&quot;.

The lines for fs:eq with xs:dayTimeDuration and xs:yearMonthDuration arguments should be replaced with one line for xs:duration arguments with &quot;op:duration-equal(A, B)&quot; as the &quot;Denotes&quot; entry, since op:dayTimeDuration-equal and op:yearMonthDuration equal no longer exist.

The lines for fs:ne with xs:dayTimeDuration and xs:yearMonthDuration arguments should be replaced with one line for xs:duration arguments with &quot;xs:not(op:duration-equal(A, B))&quot; as the &quot;Denotes&quot; entry, since op:dayTimeDuration-equal and op:yearMonthDuration equal no longer exist.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11855</commentid>
    <comment_count>1</comment_count>
    <who name="Jerome Simeon">simeon</who>
    <bug_when>2006-09-19 14:44:00 +0000</bug_when>
    <thetext>I believe all of those are bugs in the latest documents and should be fixed as suggested.
- Jerome</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12030</commentid>
    <comment_count>2</comment_count>
    <who name="Jerome Simeon">simeon</who>
    <bug_when>2006-09-26 13:55:32 +0000</bug_when>
    <thetext>Olivier,
The XSLT and XML Query Working groups have adopted your proposal and
will make the corresponding changes in the next version of the formal
semantics documents.
Best regards,
- Jerome Simeon
on behalf of the XSLT and XML Query WGs</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>