[Bug 20981] Why accumulators are not passed to xsl:evaluate?

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

--- Comment #1 from Michael Kay <mike@saxonica.com> ---
I think the rules may be over-restrictive.

In the absence of streaming on the accumulator, the only reason to have
restrictions is the possibility of circularity (and dependence on order of
evaluation) among multiple accumulators. But I don't think this is in principle
different from allowing infinite recursion in ordinary function or template
calls. So with an accumulator that specifies streamable="no" we should lift
restrictions.

With streaming on, an alternative design might be to say that if an accumulator
function is called and the context node is not the current node in a streamed
input document, then calling the accumulator function is allowed, but fails
dynamically. This might lead to a simpler set of rules.

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

Received on Thursday, 14 February 2013 23:23:38 UTC