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 11:43:50 -0400
To: "Clark C. Evans" <cce@clarkevans.com>
Cc: <xml-uri@w3.org>
Message-ID: <00b801bfc272$316f20d0$1b19da18@ne.mediaone.net>
Clark C. Evans wrote:
>
>
> It does seem to me that the primary hurdle now
> is defining a 'reasonable' "default" base URI
> for relative references.. or simply forbidding
> relative references until <xml:base> comes along.
>
> This suggestion below sounds interesting; any
> down sides?
>
> On Sat, 20 May 2000, Jonathan Borden wrote:
> > 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.
>
> I suppose then it would be forbidden for the
> root element to have a relative reference then?
>

In this case, the URI would be composed with the document URI as per the
current spec.

Jonathan
Received on Saturday, 20 May 2000 11:56:09 UTC

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