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: costello@mail11.mitre.org (Roger L. Costello)
  • To: xml-dev@ic.ac.uk (XML Developers' List)
  • Date: Fri, 15 Jan 99 14:05:18 -0500

James Tauber wrote:

>>(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)

What good is a namespace if it *doesn't* reference a DTD?

e.g.,

<BookCatalogue xmlns="http://anywhere-is-fine">
   ...
</BookCatalogue>

There is no way for a parser to validate the stuff between <BookCatalogue>
and </BookCatalogue>.  It seems like the *main* benefit to be gained from
using namespaces should be the ability for an XML document to reuse other
DTDs and validate against those DTDs, i.e., your document becomes an
assembly of independently validated elements from various DTDs.  /Roger


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