<?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>20476</bug_id>
          
          <creation_ts>2012-12-21 15:09:35 +0000</creation_ts>
          <short_desc>[QT3TS] fn-map-pairs-011 et al</short_desc>
          <delta_ts>2013-03-14 13:22:42 +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>XQuery 3 &amp; XPath 3 Test Suite</component>
          <version>Last Call drafts</version>
          <rep_platform>PC</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="Michael Kay">mike</reporter>
          <assigned_to name="Tim Mills">tim</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>80492</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2012-12-21 15:09:35 +0000</bug_when>
    <thetext>A number of tests in the fn-map-pairs test set follow a pattern like this:

fn:map-pairs( (fn:concat#2, fn:concat#2), (), () )

Since the implementation can determine when the second or third arguments are statically empty that the result will always be empty, there is no obligation to detect the type error in the first argument. I suggest replacing the second and third arguments with non-empty sequences. Meanwhile I shall add () as an acceptable result.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80840</commentid>
    <comment_count>1</comment_count>
    <who name="O&apos;Neil Delpratt">oneil</who>
    <bug_when>2013-01-02 16:57:02 +0000</bug_when>
    <thetext>I am assigning this one to Tim to comment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84407</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2013-03-14 13:09:46 +0000</bug_when>
    <thetext>I&apos;ve added new tests to cover this.

Please mark as CLOSED if you agree with the resolution.  Otherwise, REOPEN.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>