OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Namespace URI question

[ Lists Home | Date Index | Thread Index ]

In article <879123D97A01D711B0F500508B4464E4027764@lynnwood.scenicsoft.com> you write:

>xmlns:foo="file:///foodom.xsd"    

file:///foodom.xsd is (for retrieval purposes) is the same as
file://localhost/foodom.xsd, and is an absolute URI referring to a
file on the machine where the URI is being interpreted (RFC 1738).

It's not a relative URI any more than http://127.0.0.1/~richard is.

Its interpretation depends on the machine you use it on, but not on
the current base URI.

>As a namespace identifier it's just a string (please, no arguments). But
>relative URIs were deprecated in [1].

Since it's not a relative URI, it's not deprecated by that decision
(now an erratum, http://www.w3.org/XML/xml-names-19990114-errata#NE04).

On the other hand, it's not a very good namespace name because it
isn't tied to the author in the way a URI containing a normal domain
name is.  Someone else might use it with just as much justification as
you.  As the Namespace spec says:

  The namespace name, to serve its intended purpose, should have the
  characteristics of uniqueness and persistence.

-- Richard




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS