[Bug 26330] [XSLT30] The semantics for the applies-to attribute on accumulators prevents use with non-document initial context items

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

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Michael Kay <mike@saxonica.com> ---
We resolved as follows:

(a) the @applies-to attribute should be a pattern, which must be motionless if
the accumulator is streamable

(b) accumulator rules are only tested/applied for nodes within a subtree rooted
at a node that matches the applies-to pattern. This node can be of any node
kind.

(c) accumulator-before and accumulator-after are available on any node, whether
or not the tree contains a node that matches applies-to. (If no node anywhere
in the tree matches the applies-to pattern, the value will always be the
initial value.)

(d) the new-value in an accumulator rule can be computed using a sequence
constructor as an alternative to an xpath expression

(e) the new-value attribute is renamed "select"

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

Received on Thursday, 31 July 2014 15:18:15 UTC