#104 xsl:for-each and current template

v6.5.2
closed
Michael Kay
5
2012-10-08
2002-11-12
Michael Kay
No

The xsl:for-each instruction should nullify the current
template, so that xsl:apply-imports should fail within
xsl:for-each. This doesn't happen.

This is actually documented in the Saxon user
documentation but is nevertheless a nonconformance with
XSLT 1.0 and should be treated as a bug.

Test case added: error035

Applies to 6.5.2, 7.2, and all earlier releases.

Discussion

  • Michael Kay
    Michael Kay
    2002-11-12

    Logged In: YES
    user_id=251681

    Source code fixed in 7.x branch. Note, the problem affects
    xsl:for-each-group as well as xsl:for-each.

     
  • Michael Kay
    Michael Kay
    2002-11-18

    Logged In: YES
    user_id=251681

    Fixed in 7.3

     
  • Michael Kay
    Michael Kay
    2003-08-07

    Logged In: YES
    user_id=251681

    Source code fixed for 6.5.3