Re: just not seeing something about the spec....

[email protected]
Newsgroups gmane.comp.mozilla.devel.mathml
Message-ID <[email protected]>
Ray Kiddy <[email protected]> wrote on Fri, 17 Aug 2007 20:56:35 -0700:

> <math xmlns="http://www.w3.org/1998/Math/MathML">
>    <mi>x</mi>
>    <msup>
>      <mn>2</mn>
>    </msup>
> </math>

I have no idea why this even validates. The spec clearly says
(http://www.w3.org/TR/2003/REC-MathML2-20031021/chapter3.html#presm.scrlim,
Section 3.4.2.1): "The syntax for the msup element is: <msup> base
superscript </msup>". So the correct syntax is:

<math xmlns="http://www.w3.org/1998/Math/MathML">
   <msup>
     <mi>x</mi>
     <mn>2</mn>
   </msup>
</math>

which is displayed correctly by Firefox.

I use Firefox for MathML rather extensively, and it works very well.

Justus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.