This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The current template rule should be null in the sequence constructors of xsl:key, xsl:sort, xsl:matching-substring and xsl:non-matching-substring. The spec only mentions xsl:for-each, xsl:for-each-group, stylesheet function, global variable, and default value of a stylesheet parameter. Thanks, Joanne
Yes, I think you are right. On reading the text it also occurs to me that we don't make it absolutely clear that xsl:apply-imports and xsl:next-match change the current template rule. Michael Kay
Following approval by the WG, this change has now been made.