Re: HOWTO implement cross-browser-compatible MathML

Thank you for your comments!

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.

The same browser produced an error while parsing
http://www.w3.org/Math/DTD/mathml2/mathml2.dtd
 though: "Invalid unicode character... 𝕫" (Perhaps, it is time
to upgrade to SP1, but there are still a lot of users of older verstions
of IE.)

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.

>> add <?xml>,
>
> That isn't necessary unless the file is in a non default encoding,
> in which case it is needed for the file to be XML, not a specific
> restrication for mathml.

I have not figured out how to make the file cross-browser-compatible
unless it is XML. I know that a lot of the "generators" produce
HTML+MathML code, but it does not work in Mozilla. Perhaps, this is not
the problem with the browsers, but rather with MacKichan, tex4h and
others.

> remove unnecessary <style>, <object> and <?import> tags, etc.)

Mozilla v1.1 crashes for some reason when <object> tags are present. And
they are not necessary for IE anymore after the new plug-in releases,
either.

Eugene
(eugenep-at-cmt-dot-rice-dot-edu)

Received on Thursday, 17 October 2002 03:30:28 UTC