[Bug 19659] [XSLT 3.0] error in streamability rules for ./x

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

--- Comment #3 from Michael Kay <mike@saxonica.com> ---
I propose the following text.

In 19.3.7, Classifying expressions, change the entry for RelativePathExpr [35]
as follows:

Change the first paragraph to:

The RelativePathExpr is first preprocessed as follows:

(a) Any '//' pseudo-operator is expanded to '/descendant-or-self::node()/'

(b) The expression tree is written in such a way that '/' is a binary operator,
for example a/b/c becomes (a/b)/c.

The following rules then apply to a RelativePathExpr that has '/' as its
operator, with two operands. The streamability is the first of the following
that applies:

1. If either operand is a ContextItemExpr (".") or an AxisExpression using the
self axis, optionally followed (in either case) by one or more motionless
predicates,
then the streamability of the other operand.

2. (existing rule 1, et seq, unchanged)

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

Received on Thursday, 2 May 2013 16:37:37 UTC