This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 28369 - [xslt3.0ts] Error code from higher-order-function-058
Summary: [xslt3.0ts] Error code from higher-order-function-058
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 Test Suite (show other bugs)
Version: Last Call drafts
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Abel Braaksma
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
Depends on:
Reported: 2015-03-30 07:45 UTC by Michael Kay
Modified: 2015-05-06 21:20 UTC (History)
1 user (show)

See Also:


Description Michael Kay 2015-03-30 07:45:58 UTC
The essence of the test is:

    <!-- Heterogeneous sequence on rhs of "/" -->
    <xsl:variable name="f"><a b="3"/></xsl:variable>   

    ...   <xsl:value-of select="$f/(@b, upper-case#1)"/>

Now $f is a document node, so @b selects nothing, so the RHS of "/" 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="element()".
Comment 1 Michael Kay 2015-03-30 07:46:21 UTC
Fixed as suggested.
Comment 2 Abel Braaksma 2015-05-06 21:20:19 UTC
Was resolved > 30 days ago, closing.