<?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>28369</bug_id>
          
          <creation_ts>2015-03-30 07:45:58 +0000</creation_ts>
          <short_desc>[xslt3.0ts] Error code from higher-order-function-058</short_desc>
          <delta_ts>2015-05-06 21:20:19 +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>XSLT 3.0 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="Abel Braaksma">abel.online</assigned_to>
          <cc>abel.braaksma</cc>
          
          <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>119046</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2015-03-30 07:45:58 +0000</bug_when>
    <thetext>The essence of the test is:

    &lt;!-- Heterogeneous sequence on rhs of &quot;/&quot; --&gt;
   
    &lt;xsl:variable name=&quot;f&quot;&gt;&lt;a b=&quot;3&quot;/&gt;&lt;/xsl:variable&gt;   

    ...   &lt;xsl:value-of select=&quot;$f/(@b, upper-case#1)&quot;/&gt;

Now $f is a document node, so @b selects nothing, so the RHS of &quot;/&quot; does not contain a node So the actual error is FOTY0013, failure to atomize a function item.

The intent of the test can be achieved by declaring $f with as=&quot;element()&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119047</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2015-03-30 07:46:21 +0000</bug_when>
    <thetext>Fixed as suggested.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120190</commentid>
    <comment_count>2</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2015-05-06 21:20:19 +0000</bug_when>
    <thetext>Was resolved &gt; 30 days ago, closing.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>