Just require URLs

Didier PH Martin martind at netfolder.com
Tue Jun 1 13:12:00 BST 1999


Hi Jonathan,

Jonathan said:
Note that when the string "http://www.w3.org/xxx" is used as an XML
namespace URI this is a URN not a URL by definition (the scheme remains
"http").

Didier says:
Not exactly. The string http://www3.org/xxx cannot be considered a URN it is
a URL based on the HTTP scheme. The example below is a URN:

urn:tns:ZDNet:Magazines:InternetWorld

To be qualified as a URN the string should be structured as follow:

urn:<NID>:<name space>

<NID> :: Name space identifier
<name space> :: any string constructed as defined in RFC 2141 (some
characters like "/" needs to be encoded for resolution but not for human
display)

To see the difference let's take LDAP.

URL---> LDAP://ldap.itd.umich.edu/c=us
URN---> urn:ldap:c=us

In a URN we tend not to include a domain name witch is absolutely required
for URL but not for URN. In fact, to include a location dependent context in
a name jeopardize the permanency requirement.

regards
Didier PH Martin
mailto:martind at netfolder.com
http://www.netfolder.com


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list