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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: What is a namespace ... really?

[ Lists Home | Date Index | Thread Index ]
  • From: "James Tauber" <jtauber@jtauber.com>
  • To: "XML Developers' List" <xml-dev@ic.ac.uk>
  • 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)

James


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/
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