[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Namespace name: better to use URN or URL?

  • From: "Hayes, Brian" <Brian.Hayes@C...>
  • To: xml-dev@l...
  • Date: Tue, 04 Sep 2001 13:52:21 -0700

urn url namespace
I prefer URNs since URLs tend to imply that I need to have a web server
running that responds to the URL and can serve up the schemas (please
correct me if I'm wrong here).  I prefer registries that I can query with a
URN namespace to get the schema in question.  I want to go to a registry
(that is preferably associated with a consortium of registries) and register
my schemas and namespaces.  Presumably the registry is governed by some
protocol that can help guarantee uniqueness of URNs (which could be based on
URLs or UUIDs if so desired).

Perhaps one thing to clarify is to ask what namespaces are primarily
intended to do.  If they are meant to uniquely identify something, then use
URNs.  If they are primarily meant to locate something then, consider URLs.
If they are primarily meant to do both, then, IMHO, use URNs.

Brian
 
> -----Original Message-----
> From: Elliotte Rusty Harold [mailto:elharo@m...]
> Sent: 01 September 2001 14:56
> To: xml-dev@l...
> Subject: RE: Namespace name: better to use URN or URL?
> 
> 
> What would happen if we were to use URLs with uncommon schemes? e.g.
> 
> namespace://www.ibiblio.org/xml/baseball/
> 
> Would this make new users less likely to assume they could 
> resolve these
> things while still preventing conflicts?
> 
> Would this be legal? Is there any official registry for URL 
> schemes or can I
> just make them up as I choose? Certainly Java made up a lot 
> (jdbc, jndi,
> doc, netdoc, etc.) and provides an architecture (protocol 
> handlers) for
> supporting arbitrary schemes. However I'm not sure if that 
> usage is approved
> by the standards that be.
> --
> 
> +-----------------------+------------------------+-------------------+
> | Elliotte Rusty Harold | elharo@m... | Writer/Programmer |
> +-----------------------+------------------------+-------------------+
> |          The XML Bible, 2nd Edition (Hungry Minds, 2001)           |
> |              http://www.ibiblio.org/xml/books/bible2/              |
> |   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
> +----------------------------------+---------------------------------+
> |  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
> |  Read Cafe con Leche for XML News: http://www.ibiblio.org/xml/     |
> +----------------------------------+---------------------------------+
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this elist use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
> 
> 
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this elist use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
> 

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.