W3C home > Mailing lists > Public > www-math@w3.org > August 2006

Re: mathml with netscape 7.1 and Mozilla Firefox 1.5.0.6

From: <juanrgonzaleza@canonicalscience.com>
Date: Tue, 29 Aug 2006 07:11:50 -0700 (PDT)
Message-ID: <4047.217.124.69.250.1156860710.squirrel@webmail.canonicalscience.com>
To: <www-math@w3.org>

Hi, you are omiting the DTD for correct sniffing. For the Firefox, Mozilla
people also recommends a different namespace declaration in the math
element:

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="pmathml.xsl"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"
               "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd" [
  <!ENTITY mathml "http://www.w3.org/1998/Math/MathML">
]>
<html xmlns="http://www.w3.org/1999/xhtml">

...

<math display='block' xmlns="&mathml;">

...

</html>

It is true that with the "application/xhtml+xml" MIME you may provide a
xhtml extension, but MSIE and others do not recognize .xhtml, just .html
or .xml

Wait this help!


Juan R.

Center for CANONICAL |SCIENCE)
Received on Tuesday, 29 August 2006 14:12:15 GMT

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