W3C home > Mailing lists > Public > www-math@w3.org > October 2010

Re: correct DOCTYPES to use on MathML 3.0 documents

From: David Carlisle <davidc@nag.co.uk>
Date: Mon, 18 Oct 2010 22:05:01 +0100
Message-ID: <4CBCB67D.3090806@nag.co.uk>
To: Frédéric WANG <fred.wang@free.fr>
CC: W3C MathML Discussion <www-math@w3.org>
On 18/10/2010 19:27, Frédéric WANG wrote:
> Are there some cases where a browser should use w3centities-f.ent? Or is
> htmlmathml-f.ent enough?

Currently of the main desktop browsers only IE (I think) actually 
fetches a DTD that is referenced. Other browsers in  XML mode either 
ignore the DTD or (as in firefox/mathml case) just load a predefined
DTD for security and performance reasons.

So while in a controlled environment it makes sense to use whichever DTD 
sets you like, and to make up your own if you want, on the public web it 
really only works to use those entities that have a chance of working in 
multiple browsers; either because they are built in to the parser code 
or because they are in pre-installed dtd files.  All of which is a long 
way of saying that a browser can safely ignore  w3centities-f.ent and 
just use htmlmathml-f.ent which will give, in the XML code path, an 
identical set of named entities to the html5 parser in the text/html 
code path.

Received on Monday, 18 October 2010 21:05:38 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:27:43 UTC