W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2004

ORA-XQ-216-E: Explanation of initial /, // and non-initial / and // as path separators in abreviation

From: Stephen Buxton <Stephen.Buxton@oracle.com>
Date: 16 Feb 04 13:51:39
Message-Id: <200402162151.i1GLpd219969@rgmgw6.us.oracle.com>
To: public-qt-comments@w3.org
Cc:

SECTION 3.2.4: Abbreviated Syntax

3.2.4, bullet 3, gives an explanation of // as
being effectively replaced by /descendant-or-self::node()/

However, this is only true for // used in non-initial positions.
If // is used at the beginning of a path expression, it is 
effectively replaced by 
fn:root(self:node()) treat as document-node()/descendant-or-self::node()
as explained in 3.2 Path Expressions.

So we need to make it clear here. Or repeat the abbreviation of
the initial '/' and '//'  here in 3.2.4 as well.

- Steve B.
Received on Monday, 16 February 2004 16:51:41 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:13:57 UTC