why distinctions within XHTML?

Mark Birbeck Mark.Birbeck at iedigital.net
Mon Aug 30 19:00:30 BST 1999


Simon St.Laurent wrote:
> It seems like DOCTYPE and the three DTDs should handle this 
> without any problem.  I can't figure out why you'd want to bring 
> namespaces into this. I could write an editor that recognized the
> namespace and did processing based on the namespace, but I think
> DOCTYPE would be simpler.  I don't think namespaces have to do
> this work.

But what if you wanted to write an editor that left MathML alone, or
passed the MathML parts on to another application or plug-in? You'd need
to use XML Schemas because DTDs couldn't handle that (your XHTML doc has
just failed if it has MathML in it!) and you'll need a namespace for
that (under current proposals). So, if you accept that you need three
DTDs, then to get into the world of XML Schemas (or whatever it ends up
being) you need three namespaces.

Regards,

Mark Birbeck

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