W3C home > Mailing lists > Public > public-html@w3.org > April 2008

Re: MathML entities don't degrade gracefully

From: David Carlisle <davidc@nag.co.uk>
Date: Fri, 25 Apr 2008 11:59:30 +0100
Message-Id: <200804251059.m3PAxUMm020208@quetzal.nag.co.uk>
To: hsivonen@iki.fi
CC: public-html@w3.org, www-math@w3.org

 
Henri,

> Using the MathML entities in XML requires a doctype, because otherwise
> the document   would be ill-formed. 

Yes and no. The HTML5 spec could state that when processing
application/xhtml+xml documents that the application should
(effectively) use a catalog that supplies DTD entity definitions for
the HTML5 entities (it may make sense to do this regardless of whether
the "html5 entity set" ends up being the html4 names or html4+mathml
names).

<!DOCTYPE html>
<html>
<p>&phi;</p>
</html>

or even just

<html>
<p>&phi;</p>
</html>

is well formed (but not valid) if the parser is using a catalog that says
(for example) that any document with document element "html" should use
a dtd that (just) defines some set of html5 entities.

David
Received on Friday, 25 April 2008 11:01:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:16 GMT