Why namespaces?

James Tauber jtauber at jtauber.com
Thu Sep 2 03:27:09 BST 1999


Mark Birbeck wrote:
> Simon St.Laurent wrote:
> > At 09:17 AM 9/1/99 +0800, James Tauber wrote:
> > >"we would only need separate namespaces for each flavour of
> > > XHTML if people are going to want to mix the three flavours
> > > in the one document and distinguish the different usages
> > > of the element/attributes names in the intersection."
> >
> > Simple, clean, cuts to the heart of the matter.
>
> 'fraid I don't agree. For the *legacy* HTML you may still need to
> distinguish where it came from when it is being processed as XHTML.

But my point is that *namespaces* shouldn't be what you use to make this
distinction.

Namespaces (by my reading of the spec) are for distinguishing
element/attribute vocabularies *within an instance*.

James (who still thinks prefix matching of namespaces is a neat idea)
--
James Tauber / jtauber at jtauber.com / www.jtauber.com
Maintainer of : www.xmlinfo.com,  www.xmlsoftware.com and www.schema.net
<pipe>Ceci n'est pas une pipe</pipe>





xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list