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

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