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

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

--- Comment #4 from Michael Kay <mike@saxonica.com> ---
Concerning the problem that all accumulators apply to all documents, I do think
this is something we need to address; for streamed documents it means the
implementation really has no choice but to incur the cost of maintaining the
accumulator for every streamed document, and there's no way of saying its not
needed.

I think a reasonable way to do this would be an attribute

xsl:accumulator/applies-to

whose value is a motionless pattern that is applied to the "document element"
(the first element child of the document node). If the pattern does not match,
the accumulator does not apply to this document, and any attempt to access its
value (once the document element has been read) is a dynamic error.

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

Received on Wednesday, 14 May 2014 17:12:07 UTC