Re: correct DOCTYPES to use on MathML 3.0 documents

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.

David

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