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

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

From: <bugzilla@jessica.w3.org>
Date: Thu, 15 May 2014 22:48:30 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-24547-523-wFTmAHdZ1U@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24547

--- Comment #5 from Abel Braaksma <abel.braaksma@xs4all.nl> ---
When we discussed this at today's telcon, we did not discuss comment#4 on
preventing the accumulator to run on every document.

I think the proposal of Michael has merit, but I also think it should get a
pendant in the xsl:stream instruction. Consider a scenario where you use
packages that have xsl:accumulators defined. You may not want to use that
functionality and they may be final, which means you cannot override them. In
addition, maybe you want to define one accumulator and process the same
streaming document twice, but the second time without the accumulator.

For such scenarios, we could add an attribute, say "enable-accumulator"
(tokens, defaulting to "*") on xsl:stream. It would be beneficial to have the
same ability for non-streaming documents, but I don't know how (on xsl:fork
perhaps?)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 15 May 2014 22:48:31 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:56 UTC