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

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