W3C home > Mailing lists > Public > public-qt-comments@w3.org > March 2015

[Bug 28369] New: [xslt3.0ts] Error code from higher-order-function-058

From: <bugzilla@jessica.w3.org>
Date: Mon, 30 Mar 2015 07:45:58 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-28369-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28369

            Bug ID: 28369
           Summary: [xslt3.0ts] Error code from higher-order-function-058
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0 Test Suite
          Assignee: abel.online@xs4all.nl
          Reporter: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org

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()".

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Monday, 30 March 2015 07:46:00 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:53 UTC