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

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