[Bug 29712] [xslt3.0] Why are streamable stylesheet functions required to be consuming?

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

--- Comment #3 from Michael Kay <mike@saxonica.com> ---
Another observation: perhaps the concern is about how the implementation copes
with the situation where the function doesn't consume the input. But it has to
deal with that situation anyway. For example the function body might be

if (current-date() < xs:date('2000-01-01') 
then sum($input/@value)
else 0

which has consuming sweep (the wider of the sweeps of the two conditional
branches), but doesn't actually consume anything.

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

Received on Friday, 1 July 2016 08:25:12 UTC