W3C home > Mailing lists > Public > www-math@w3.org > June 2003

Re: XHTML+MathML doctype declaration ... // "Putting mathematics on the Web with MathML"

From: David Carlisle <davidc@nag.co.uk>
Date: Mon, 16 Jun 2003 10:38:21 +0100
Message-Id: <200306160938.KAA21380@penguin.nag.co.uk>
To: Bernhard.Keil@soft4science.com
CC: www-math@w3.org


> there are two different versions of a "XHTML 1.1 +MathML 2.0"-DTD:
>    [1] http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd
>    [2] http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd

> In practice only the docttype declaration [2] workes with IE  ( tested with IE6 ).
> The doctype declaration [1] forces the error message:

The MathML errata document for MathML 2.0 Rec, and the draft text of
MathML 2 2nd edition both make it clear that the DTD in
supersede the DTD distributed with the Rec in http://www.w3.org/TR/MathML2

Some of the "errata" items in the dtd were not really errors but just
phrasing things in officially equivalent ways that work (rather than not
work) with certain well known parsers.

> Since many people report problems in several newsgroups about the question
> how to publish MathML, I think it would be no fault to place a note in the
> page "Putting mathematics on the Web with MathML" (www.w3.org/Math/XSL/)
> about what doctype declaration should be used if one wants that it realy works.

In addition to constraints placed on the DTD by IE, mozilla has its own
(different) constraints on th eIDs used for DTD (not the content, as it
doesn't read them). Generally I recommend not using a doctype at all
for published documents (see for example the format used in the test
suite) as if you use a doctype IE will really fetch the DTD which in
many cases is a much bigger download that the actual MathML document.

> Furthermore the page  "Putting mathematics on the Web with MathML" misses a hint on
> what Mime-types should be used to serve the XHTML+MathML documents and
> the XSLT stylesheets.

This came up last week on this list. I was sure that it did say
something about that, but it certainly doesn't. I'll try to add some
text, but as Robert indicated, my MathML time is somewhat taken up with
MathMl 2 2nd edition just at present.

> I think the "Putting mathematics on the Web with MathML"-page could be made 
> more user friendly and complete with little effort.
> Why not making a Step by step user guide like most software installtion guides look like?

Suggestions welcome! 


This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
Received on Monday, 16 June 2003 05:38:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 February 2010 06:12:55 GMT