W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2016

[Bug 29805] [XSLT30] Allow xsl:source-document/@use-accumulators to be present when streamable=no

From: <bugzilla@jessica.w3.org>
Date: Wed, 07 Sep 2016 22:55:29 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29805-523-fxDMaWFyF4@http.www.w3.org/Bugs/Public/>

--- Comment #2 from Michael Kay <mike@saxonica.com> ---
I think there is a problem with making accumulators on unstreamed documents
selectively applicable, which is that several instructions/functions can return
the same document.

For example, if the stylesheet does

<xsl:variable name="x" select="doc('one.xml')"/>

and then does

<xsl:source-document href='one.xml' use-accumulators="a b c"/>

then I really don't want to have to keep two copies of the document one with
accumulators and one without.

So I'm inclined to stay with the principle that accumulators are selectively
applicable to streamed documents, but universally applicable to unstreamed
documents, despite the lack of orthogonality.

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 7 September 2016 22:55:37 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:58:02 UTC