[Bug 24649] The spec currently allows non-streaming accumulators to be streamable

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

C. M. Sperberg-McQueen <cmsmcq@blackmesatech.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cmsmcq@blackmesatech.com

--- Comment #1 from C. M. Sperberg-McQueen <cmsmcq@blackmesatech.com> ---
We discussed this (together with bug 24650 and bug 24651) at the Prague face to
face.

On reflection, some WG members suggested that our problem is that accumulators
are not bound to specific inputs; the spec seems to suggest that every
accumulator is evaluated for every node of every input tree.

Should streamable inputs and accumulators go together, and unstreamable
likewise?  (That seems to raise trouble for the notion that 'streaming
processing' is just an optimization, and that stylesheets have the same
semantics either way.)

The xsl:stream instruction could have attributes which specify which
accumulators are relevant.  But for doc() (etc.) this approach seems to be
unavailable.

Perhaps we could have a function wrapping doc() and returns the same document
with (as a side effect) accumulators activated.

Perhaps a pattern at the accumulator level that activates it for (a) a URI that
matches the pattern or (b) a node that matches the pattern.

At this point, we discovered that error XTDE3370 already does say that
non-streaming accumulators are inaccessible when the context items is a
streaming node.

More hyperlinking may help make error 3370 more visible.

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

Received on Thursday, 13 February 2014 14:29:17 UTC