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

Re: HOWTO implement cross-browser-compatible MathML

From: David Carlisle <davidc@nag.co.uk>
Date: Wed, 16 Oct 2002 23:13:40 +0100
Message-Id: <200210162213.XAA12395@nag.co.uk>
To: qgruyxzhqfzt@spammotel.com
CC: www-math@w3.org




> http://www.w3.org/Math/XSL/ seems to pay too much attention to a bug in
> IE that has been fixed. I have IE 6.0.26 with updates through Q321232
> and it does not have a problem with
> http://www.w3.org/Math/XSL/mathml.xsl  However, for the sake of
> compatibility with IE v5.5, it may be a good idea to keep mathml.xsl
> local, indeed.

I don't think it is a bug, it is intentional behaviour (not one I
necessarily agree with, but its clear MS intended it). I get the same
with the latest IE6 SP1 and the previous IE6 release, that is not an IE
5.5 feature.. Are you sure you haven't lowered your security
options to allow data files from other servers?

> Renaming math.dtd to mathml2.dtd is probably a good idea, although it
> seems like Mozilla does not pay attention to the name of the file and
> loads its copy of mathml2.dtd anyway as long as "-//W3C//DTD XHTML 1.1
> plus MathML 2.0//EN" is present.

oh yes, it checks the public id as well (but as a matter of form you
shouldn't use that public id for a file that isn't the offical version,
that goes against the point of public ids.

> I have not figured out how to make the file cross-browser-compatible
> unless it is XML. 

You can't. but XML files do not have to have an xml declaration at the
top unless they are in a non standard encoding. so if the file is in
utf8 or utf16 or ascii then you don't need to add this.


> Mozilla v1.1 crashes for some reason when <object> tags are present. 
hmm sounds like a bug to take up on a mozilla list.
But my point was that the file may have object and style elements
unrelated to mathml that you want to keep, and they should work, you
seemed to be suggesting that they would have to be removed.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
Received on Wednesday, 16 October 2002 18:14:04 GMT

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