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


--- 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

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


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