W3C home > Mailing lists > Public > www-xpath-comments@w3.org > April to June 2000

Re: Relative URIs

From: James Clark <jjc@jclark.com>
Date: Sat, 10 Jun 2000 15:57:49 +0700
Message-ID: <3942030D.2ED01E10@jclark.com>
To: John Boyer <jboyer@PureEdge.com>
CC: www-xpath-comments@w3.org
John Boyer wrote:
> 
> The recent brouhaha over whether relative URIs should be absolutized brought
> to my attention the fact that
> 
> 1) The namespace recommendation says that the namespace URIs should be
> treated as strings
> 2) The XPath recommendation does not quite do this because it absolutizes
> relative URIs.
> 
> This raises two questions:
> 
> 1) How does an XPath implementation know the base URI to do this conversion?

>From the infoset.  If the infoset is changed to provide the relative
namespace URI only, then it can get it from the base URI property in the
infoset.  RFC 2396 defines how to compute the base URI.

> 2) Given that XPath came out after Namespaces, are we to assume that Xpath
> is in error?

Not until the current brouhaha has reached a conclusion.

James
Received on Saturday, 10 June 2000 05:28:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:05:53 GMT