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

ORA-XQ-281-B: please permit // on element nodes

From: Stephen Buxton <Stephen.Buxton@oracle.com>
Date: 16 Feb 04 14:18:00
Message-Id: <200402162218.i1GMI0215469@rgmgw6.us.oracle.com>
To: public-qt-comments@w3.org

SECTION 3.2: Path expressions

It says that "//" at the beginning of a path expression is an 
abbreviation for fn:root(self::node()) treat as document-node()/
descendent-or-self::node().  As noted, this will cause an exception
if the root is not a document node.  This seems arbitrary.  Why
not permit // when the root of a node is just an element node, 
for example?

- Steve B.
Received on Monday, 16 February 2004 17:18:03 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:17 UTC