This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
If you call a stylesheet that itself calls fn:transform that in turn, directly or indirectly, calls itself, we have a circularity dependency. This may be intentional and cause a recursion that ends. It may indicate a failure and cause indefinite recursion. I don't think there is any way this can be detected, esp. since the execution context is implementation dependent (or defined?). But I think it makes sense to add a little Note explaining that it is allowed and that infinite recursion may go undetected.
I don't think this really needs saying, but I have added the note: <p>Recursive use of the <code>fn:transform</code> function may lead to catastrophic failures such as non-termination or stack overflow. No error code is assigned to such conditions, since they cannot necessarily be detected by the processor.</p>
Thanks