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

ORA-FO-173-B: nonrecursive definition of something that probably should be recursive

From: Stephen Buxton <Stephen.Buxton@oracle.com>
Date: 16 Feb 04 14:38:12
Message-Id: <200402162238.i1GMcC222569@rgmgw6.us.oracle.com>
To: public-qt-comments@w3.org
Cc:

SECTION 2.4: fn:base-uri

It says: "If the base-uri property for $arg is empty, the base-uri
of that node's parent is returned."  As written, this is not
recursive, meaning that you would never consult the base-uri
of the grandparent of a node.  I think this is not what you mean.
If you mean this to work recursively up the tree until it finds
a node with a base-uri, or reaches the root, you should say so.


Perhaps replace the sentence with: 
If the base-uri property for $arg is empty, the base-uri
of that node's parent is returned by the equivalent of fn:base-uri($arg/..)." 

- Steve B.
Received on Monday, 16 February 2004 17:38:15 UTC

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