W3C home > Mailing lists > Public > public-qt-comments@w3.org > October 2014

[Bug 27126] New: [XSLT30] allow fn:root in patterns to match parentless nodes

From: <bugzilla@jessica.w3.org>
Date: Wed, 22 Oct 2014 15:12:47 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-27126-523@http.www.w3.org/Bugs/Public/>

            Bug ID: 27126
           Summary: [XSLT30] allow fn:root in patterns to match parentless
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: abel.braaksma@xs4all.nl
        QA Contact: public-qt-comments@w3.org

This bug report is to track the resolution of
https://lists.w3.org/Archives/Member/w3c-xsl-wg/2014Oct/0018.html (member

This mail was discussed at the telcon of 16 October 2014. Summary of that
discussion and the mail discussion:

* parentless¹ nodes are everywhere (xsl:variable with as="element()" for
* we (now) have the ability to start stylesheet invocation with any kind of
item, including parentless¹ nodes
* using a leading "/" in patterns won't match as it *must* match a document
node, this often confuses users that consider it to match any root
* matching the root of parentless¹ nodes is tricky and very non-trivial, using
patterns like "foo[not(..)]"
* using fn:root() would make such patterns clearer
* the relevant changes to the spec appear to be minimal

Points against:
* late in the game (2nd LCWD status)
* there is a workaround, "people should read tutorials"

The recorded DECISION at the telcon was to leave the decision of whether or not
to include this change up to the editor.

¹ the term "parentless" here means any nodes without a parent, except for

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 22 October 2014 15:12:49 UTC

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