W3C home > Mailing lists > Public > www-math@w3.org > July 2009

Re: MathML browser test page

From: David Carlisle <davidc@nag.co.uk>
Date: Fri, 17 Jul 2009 00:58:10 +0100
Message-Id: <200907162358.n6GNwAEw026029@edinburgh.nag.co.uk>
To: joe.java@eyeasme.com, www-math@w3.org

In addition to Neil's comments,

a note on 

>  Opera fails miserably because it does not understand most named
> characters 
> (i.e that &Sum; stands for Unicode character &#8721; (the summation
> character))

The XML  spec allows non validating parsers to not fetch an external
DTD, and if they do not fetch it entity references such as this are a
(possibly fatal) error.

Most browsers do not fetch DTD (firefox special-cases the mathml dtd and
does not fetch the one specified, but has a smaller simpler one
pre-installed in the distribution) So while entity references are useful
for authoring,  documents are a lot more portable (in general not just for
mathml in a browser) if you expand then before serving. ie use something
like &#x2211 rather than &sum. It's a bit unfortunate but that's just
the way it is.  Opera's XML parser is entirely conformant (and not at
all untypical) in failing to expand entity references.

David


________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________
Received on Thursday, 16 July 2009 23:58:47 GMT

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