W3C home > Mailing lists > Public > www-math@w3.org > November 2003

Re: ⁢ missing from DTD

From: Max Froumentin <mf@w3.org>
Date: Mon, 03 Nov 2003 10:54:44 +0100
To: Bill Naylor <Bill.Naylor@mcs.vuw.ac.nz>
Cc: www-math@w3.org
Message-ID: <87vfq16al7.fsf@w3.org>

Hi Bill,

Your document is wrong, the doctype claims it's MathML while it's actually
XHTML+MathML, so you should instead write:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN"

"http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd"
 >

  <html>
   <head><title>foo</title></head>
   <body>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
        <mrow>
          <mi>x</mi><mo>&InvisibleTimes;</mo><mi>y</mi>
        </mrow>
      </math>
    </body>
  </html>

Which validates correctly and works in Mozilla.

However, there seems to be a problem with:


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE math PUBLIC "-//W3C//DTD MathML 2.0//EN"
"http://www.w3.org/Math/DTD/mathml2/mathml2.dtd">

      <math>
        <mrow>
          <mi>x</mi><mo>&InvisibleTimes;</mo><mi>y</mi>
        </mrow>
      </math>

This validates fine (using rxp), but Mozilla indeed complains about
InvisibleTimes not being defines. Probably something to do with the
fact that mozilla doesn't read the DTD that's at w3.org and uses its
own. David, or surely Roger, will know better than I there.

Cheers,

Max.
Received on Monday, 3 November 2003 04:55:23 GMT

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