W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2016

[Bug 29716] New: [xslt 3.0] xsl:copy and the current template rule

From: <bugzilla@jessica.w3.org>
Date: Sun, 03 Jul 2016 21:47:11 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29716-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29716

            Bug ID: 29716
           Summary: [xslt 3.0] xsl:copy and the current template rule
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

In 5.3.4 we have a list of instructions that clear the current template rule:

xsl:for-each, xsl:for-each-group, xsl:analyze-string, xsl:iterate, xsl:stream,
xsl:merge

The current template rule is used by xsl:apply-imports and xsl:next-match; it
doesn't make sense to use these instructions if the context item has changed,
so the list above is supposed to include all instructions that execute
contained instructions with a new context item.

xsl:copy with a select attribute also sets a new context item, so this should
be in the list. But for compatibility with 1.0/2.0, this applies only when
there is a select attribute.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Sunday, 3 July 2016 21:47:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:58:01 UTC