[Bug 29628] 16.2.1 fn:for-each - proposal of more succinct rules

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29628

--- Comment #3 from Michael Kay <mike@saxonica.com> ---
In response to Abel's comment, there's no concept of tail recursion in the
spec: whether a particular implementation recognizes this function body as tail
recursive is purely an implementation matter.

(For Saxon, the rules are complex and not very consistent; a recursive call as
the last item in an (X, Y, f()) construct is more likely to be recognized as a
tail call in an XSLT template than in a function body).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 23 May 2016 11:55:48 UTC