W3C home > Mailing lists > Public > xml-uri@w3.org > May 2000

RE: Defaule base URI for files

From: Jonathan Borden <jborden@mediaone.net>
Date: Sat, 20 May 2000 00:48:23 -0400
To: <xml-uri@w3.org>
Message-ID: <00a601bfc216$a1330e10$1b19da18@ne.mediaone.net>
David Carlisle wrote:
>
> It "won't matter" what the base URI is for the purposes of constructing
> relative links, because they are all functionally equivalent.
>
> But for namespace use you have just confirmed that with the absolute
> approach my example has _no_ specified namespace. Different systems are
> allowed to infer different base URI and so produce different absolute
> URI for the namsepace. Even under the absolute approach absolute
> namespace uri are compared as strings not by functional equivalence.
>
...

But suppose we define the default base URI of any XML document as the
namespace of the root element, and the default base URI of an element as its
namespace. In this case composition of relative URIs works just fine and
depends only on the contents, not the location of, a document.

Jonathan Borden
Received on Saturday, 20 May 2000 01:00:40 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:32:42 UTC