<?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>1826</bug_id>
          
          <creation_ts>2005-07-28 16:23:44 +0000</creation_ts>
          <short_desc>Editorial: op:union/op:intersect defined in F&amp;O, but error handling in XPath 2.0</short_desc>
          <delta_ts>2005-09-29 12:51:33 +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>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</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="Frans Englich">frans.englich</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>5268</commentid>
    <comment_count>0</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2005-07-28 16:23:44 +0000</bug_when>
    <thetext>Hello,

This is maybe intentional, but I find it a bit confusing that error handling for
op:union, op:intersect and op:intersect is defined in XPath 2.0, &quot;If an operand
of union, intersect, or except contains an item that is not a node, a type error
is raised [err:XPTY0004].&quot;, while their definitions are in F &amp; O &quot;15.3 Equals,
Union, Intersection and Except.&quot;

Should the error handling specification be moved from XPath20 to F &amp; O?


Cheers,
Frans</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5269</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2005-07-28 17:52:58 +0000</bug_when>
    <thetext>You&apos;re not the only one that&apos;s confused by the way the operator specifications
are split between the language book and the F+O book, but there is some method
in the madness: in general operators are polymorphic, and the language book
describes the logic that decides which of the various (non-polymorphic)
functions needs to be despatched. In this case there is no suitable function to
handle non-node-operands, so a type error is raised during the despatch process,
not by the function itself.

Michael Kay (personal response)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5272</commentid>
    <comment_count>2</comment_count>
    <who name="Ashok Malhotra">ashok.malhotra</who>
    <bug_when>2005-07-28 18:38:54 +0000</bug_when>
    <thetext>Shall we close this based on Michael Kay&apos;s explanation of the situation?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5274</commentid>
    <comment_count>3</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2005-07-28 18:42:11 +0000</bug_when>
    <thetext>Yes, I wouldn&apos;t object at least.


Frans</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5275</commentid>
    <comment_count>4</comment_count>
    <who name="Ashok Malhotra">ashok.malhotra</who>
    <bug_when>2005-07-28 18:49:40 +0000</bug_when>
    <thetext>Closed with approval of the commentor.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>