W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2016

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

From: <bugzilla@jessica.w3.org>
Date: Fri, 01 Jul 2016 08:24:58 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29712-523-4IytdpRiRH@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:58:01 UTC