W3C home > Mailing lists > Public > public-qt-comments@w3.org > March 2014

[Bug 24547] Streamability of accumulators, missing initial-value

From: <bugzilla@jessica.w3.org>
Date: Tue, 04 Mar 2014 15:40:38 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-24547-523-00DHRB4RUK@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24547

--- Comment #3 from Abel Braaksma <abel.braaksma@xs4all.nl> ---
Considering that accumulators apply to all input documents, I agree that we
should not give it the same focus as a global xsl:variable, which only applies
to the initial context item. Because such relation (the relation between the
initial context node of the stylesheet and the documents the accumulator
applies on) does not exist, an absent focus makes sense and follows the rule of
Least Surprise.

Consequently, the initial-value should not have a context item type of
document-node() (as suggested in para 2 of comment 2), as a possible initial
context item that it applies to (provided we do not go for absent focus) is not
necessarily a document node.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 4 March 2014 15:40:39 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:46 UTC