- From: Michael Dyck <jmdyck@ibiblio.org>
- Date: Fri, 31 Dec 2010 10:23:54 -0800
- To: public-qt-comments@w3.org
Krzysztof Maczyn'ski wrote:
> Dear WG,
>
>> [38] AbbrevForwardStep ::= "@"? NodeTest
> Shouldn't that be NameTest?
You mean instead of NodeTest? Nope. If it were NameTest, that would
exclude KindTest from that context, which would disallow paths such as
a/element()
and
section/attribute(id)
(See point 2 in the "Abbreviated Syntax" section.)
> Also, how does the grammar generate a PathExpression ending with "/" other than "/"?
It doesn't.
>> If E is any expression that returns a sequence of nodes,
>> then the expression E/. returns the same nodes in document order,
>> with duplicates eliminated based on node identity.
Yes. Note that E/. doesn't end with "/", it ends with "." .
-Michael
Received on Friday, 31 December 2010 18:24:56 UTC