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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: Just require URLs

[ Lists Home | Date Index | Thread Index ]
  • From: "Didier PH Martin" <martind@netfolder.com>
  • To: "Jonathan Borden" <jborden@mediaone.net>, <xml-dev@ic.ac.uk>
  • Date: Tue, 1 Jun 1999 06:55:46 -0400

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@netfolder.com
http://www.netfolder.com


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@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@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

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

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