Lists Home |
Date Index |
- From: "James Tauber" <firstname.lastname@example.org>
- To: "XML Developers' List" <email@example.com>
- Date: Sat, 16 Jan 1999 02:45:18 +0800
>(1) A namespace is just a URI. It references some domain. It is simply
>there to tell an application/processor what domain the associated XML
>elements hail from.
Well, it doesn't even need to be the domain the elements hail from, just a
URI that no one else would use for different elements. Universal uniqueness
(is that a tautology) is what namespaces are all about.
If I developed my own elements, I might use the URI http://www.jtauber.com/
If I want to use your elements but there is nothing obvious to use for a
namespace, I might use http://www.jtauber.com/costello/
I can be fairly sure that it's unique (who else would use my domain). There
doesn't even have to be a resource at that URI.
>(2) A namespace is a URI to a DTD.
No. It doesn't have to be at all (although it *could* be and a URI for a DTD
is as good a URI as any and better than most)
xml-dev: A list for W3C XML Developers. To post, mailto:firstname.lastname@example.org
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:email@example.com the following message;
To subscribe to the digests, mailto:firstname.lastname@example.org the following message;
List coordinator, Henry Rzepa (mailto:email@example.com)