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

Re: Are *relative* URIs as namespace nemes considered harmful?

From: John Cowan <jcowan@reutershealth.com>
Date: Wed, 17 May 2000 17:14:24 -0400
Message-ID: <39230BB0.B9A34EF7@reutershealth.com>
To: David Carlisle <davidc@nag.co.uk>, "xml-uri@w3.org" <xml-uri@w3.org>
David Carlisle wrote:

> Incidentally is there a canonical base URI for a file on my filesystem
> (say /users/davidc/file.xml)?

No, because a file corresponds to an entity body.  There may be and often
are multiple resources (file://, ftp://localhost, ftp://canonical.host.domain)
sharing the same entity body.
> If relative namespace URI are allowed, and namspace names are taken to
> be absolute, is it clear what is the namespace of xxx in
> file.xml if the content of the file is
> <xxx xmlns="abc"/>

It depends on how the file is fetched by whoever is doing the interpretation.

Schlingt dreifach einen Kreis um dies! || John Cowan <jcowan@reutershealth.com>
Schliesst euer Aug vor heiliger Schau,  || http://www.reutershealth.com
Denn er genoss vom Honig-Tau,           || http://www.ccil.org/~cowan
Und trank die Milch vom Paradies.            -- Coleridge (tr. Politzer)
Received on Wednesday, 17 May 2000 17:14:37 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:13:58 UTC