Re: ⁢ missing from DTD

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 UTC