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: Wed, 14 May 2014 17:12:05 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-24547-523-hdL5BeWkvT@http.www.w3.org/Bugs/Public/>
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

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