#140 StackOverflow from xsl:with-param

v7.5.1
closed
Michael Kay
5
2012-10-08
2003-06-17
Michael Kay
No

A StackOverflow exception occurs when an xsl:with-param
instruction has a select expression that contains
references to both (a) a local parameter or variable of
the calling template, and (b) the context node (or
something that depends on it, e.g. @name).

The problem is fixed in the current development build
of 7.6, but I haven't found the root cause. It's
something to do with saving a Closure containing the
saved context for delayed evaluation of the expression.

Test case added: bug95

Discussion