[Bug 28129] [xslt 3.0] xsl:global-context-item/@use-accumulators

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

--- Comment #1 from Michael Kay <mike@saxonica.com> ---
On a related topic, but more substantively...

I started changing the streaming accumulator tests to add an
xsl:global-context-item declaration to state that the accumulator was used for
the streamed input document. But this cannot be done without also adding an
xsl:package at the outermost level of the stylesheet.

This seems unnecessary and inconvenient.

I propose we drop the rule that xsl:global-context-item requires an explicit
xsl:package as its parent. Instead we should have the rules:

(a) it can only appear once within a stylesheet module

(b) it is an error if it appears in an included or imported stylesheet module
unless an equivalent declaration appears in the top-level module of the
package.

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

Received on Tuesday, 3 March 2015 14:11:39 UTC