From: Michael Kay <mike@sa...> - 2013-12-30 11:22:15
I think this raises a question about the xsl:iterate specification, which I have logged here for WG attention:
The essential problem is: if the variable is in scope during on-completion, what should its value be in the case where there have been no iterations of the loop, and therefore no evaluation of the variable?
Saxon is crashing, I think, because of indecision or inconsistent decision about whether the variable is or is not in scope; during the basic parsing it is treated as being in scope, but then during subsequent analysis the possibility of a variable reference within on-completion is being overlooked.
On 29 Dec 2013, at 10:29, David Rudel <fwqhgads@...> wrote: