Re : Amaya 9.53 WinXP possible bug: MathML <mi> or <mo>

 Hi,
 
 Yes, it is a bug but I corrected it ten days ago. It's strange that the change has not be included in the Amaya release.
 The correct MathMl syntax would be with "mrow", to say what are the childs of the <munderover> element :
 
 <math xmlns="http://www.w3.org/1998/Math/MathML">
 <munder>
 <mo>lim</mo>
 <mrow>
 <mi>x</mi>
 <mo>&rarr;</mo>
 <mo>+</mo>
 <mi>&infin;</mi>
 </mrow>
 </munder>
 </math>
 
 Fred
 
 <math xmlns="http://www.w3.org/1998/Math/MathML"> 
 <mrow> 
 <munderover> 
 <mrow>
 <mo>&sum;</mo> 
 <mn>0</mn> 
 <mo>&infin;</mo> 
 </munderover> 
 <mi>i</mi> 
 </mrow> 
 </math>
 
  
 -----E-mail d'origine-----
 De : bartolomesintes@ono.com
 A : www-amaya@w3.org
 Envoyé le : Jeu 23 Nov 2006 13:43
 Sujet : Amaya 9.53 WinXP possible bug: MathML <mi> or <mo>
 
  Hi, 
 
 I have been trying to create a simple formula (sum of i from 0 to infinite) and Amaya creates the following source code: 
 
 <p>Amaya: <math xmlns="http://www.w3.org/1998/Math/MathML"> 
 <mrow> 
 <munderover> 
 <mo>&sum;</mo> 
 <mn>0</mn> 
 <mo>&infin;</mo> 
 </munderover> 
 <mi>i</mi> 
 </mrow> 
 </math></p> 
 
 When you create the formula, it looks OK in Amaya but it looks bad in FF and IE (with MathPlayer). When the document is reloaded in Amaya, then it looks bad as in FF and IE. 
 
 I have modified the source code changing the <mo>&sum;</mo> into <mi>&sum;</mi> and then it looks ok in Amaya, FF and IE: 
 
 <p>Modified: <math xmlns="http://www.w3.org/1998/Math/MathML"> 
 <mrow> 
 <munderover> 
 <mi>&sum;</mi> 
 <mn>0</mn> 
 <mo>&infin;</mo> 
 </munderover> 
 <mi>i</mi> 
 </mrow> 
 </math></p> 
 
 The same problem seems to happen when the formula is lim x-> inf 
 
 <p>Amaya: <math xmlns="http://www.w3.org/1998/Math/MathML"> 
 <munder> 
 <mo>lim</mo> 
 <mrow> 
 <mi>x</mi> 
 <mo>&rarr;</mo> 
 <mo>&infin;</mo> 
 </mrow> 
 </munder> 
 <mi>x</mi> 
 </math></p> 
 
 <p>Modified: <math xmlns="http://www.w3.org/1998/Math/MathML"> 
 <munder> 
 <mi>lim</mi> 
 <mrow> 
 <mi>x</mi> 
 <mo>&rarr;</mo> 
 <mo>&infin;</mo> 
 </mrow> 
 </munder> 
 <mi>x</mi> 
 </math></p> 
 
 Is it a bug? 
 
 Best regards, 
 Bartolomé Sintes (http://www.mclibre.org 
   

Received on Thursday, 23 November 2006 13:05:57 UTC