[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Namespace name: better to use URN or URL?
- From: "Hayes, Brian" <Brian.Hayes@Commerceone.com>
- To: xml-dev@lists.xml.org
- Date: Tue, 04 Sep 2001 13:52:21 -0700
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@metalab.unc.edu]
> Sent: 01 September 2001 14:56
> To: xml-dev@lists.xml.org
> 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@metalab.unc.edu | 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>
>