Re: MathML errors

In-reply-to: Your message of Wed, 21 Oct 1998 00:26:13 +0530."
             <Pine.SOL.3.96.981021001919.8161A-100000@osiris.csa.iisc.ernet.in>
 
> Hi,
> While loading the following html file on Amaya 1.3b on LINUX
> 
> <html>
>  <body>
>   <math>
>     <MI>a</MI> &nbsp; <MO>+</MO> &nbsp; <MI>b</MI>
>   </math>
>  </body>
> </html>
> 
> I am getting the following errors:
>    Unexpected XML end tag </MI> instead of </mi>
>    Unknown XML entity "&nbsp;"
>    Unexpected XML end tag </MO> instead of </mo>
>    Unknown XML entity "&nbsp;"
>    Unexpected XML end tag </MI> instead of </mi>
> 
> 
> The above file worked perfectly on the 1.1c release of Amaya.
> 
> Regards,
>         Ashes
> 
> 

The MathML specification has changed and Amaya too.
Now tags must be given in lowercase and the right entity is
&InvisibleTimes;

Your example should be now:
<html>
 <body>
  <math>
    <mi>a</mi> &InvisibleTimes; <mo>+</mo> &InvisibleTimes; <mi>b</mi>
  </math>
 </body>
</html>
 
Regards
  Irene.

Received on Wednesday, 21 October 1998 08:53:08 UTC