W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2014

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

From: <bugzilla@jessica.w3.org>
Date: Thu, 31 Jul 2014 15:18:13 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-26330-523-5ciLMzsqn3@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:47 UTC