Re: Is the semantic tags example correct in https://www.w3.org/Math/whatIsMathML.html?

Andrew Robbins <[email protected]> Sun, 31 Jul 2016 15:31:47 -0400
Newsgroups gmane.comp.web.mathematics
Message-ID <CAAMbixJ9Tj9wSAQoeekpMcNeSk8V3PuaAadoL3pgggRZF_pwDA@mail.gmail.com>
--001a11425e44e560c90538f38883
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Shouldn't the first example on that page be formatted a little better? and
use the numeric entity instead of the named one?

<math xmlns=3D"http://www.w3.org/1998/Math/MathML">
  <mrow>
    <mrow>
      <msup>
        <mi>x</mi>
        <mn>2</mn>
      </msup>
      <mo>+</mo>
      <mrow>
        <mn>4</mn>
        <mo>&#x2062;<!--INVISIBLE TIMES--></mo>
        <mi>x</mi>
      </mrow>
      <mo>+</mo>
      <mn>4</mn>
    </mrow>
    <mo>=3D</mo>
    <mn>0</mn>
  </mrow>
</math>

On Thu, Jul 28, 2016 at 5:39 AM, STF <[email protected]> wrote:

>
> On 28 July 2016 at 10:16, David Carlisle <[email protected]> wrote:
>
>> On 27/07/2016 12:11, STF wrote:
>>
>>> I'm a newbie in MathML, so sorry if my question seems stupid.
>>>
>>
>> Not stupid at all!
>>
>>
>>> I started to read MathML intro and I bumped into this page:
>>> https://www.w3.org/Math/whatIsMathML.html
>>>
>>> At the end of this page, there's an example for the math expression
>>> x=C2=B2 + 4x + 4 =3D 0
>>>
>>> But when I read the semantic tags example, I only get
>>> x=C2=B2 + 4x + 4
>>> and the "=3D 0" seems missing for me.
>>>
>>> Could someone tell me if the example is correct or not?
>>>
>>> Thanks in advance
>>>
>>>
>> Thanks, fixed (added <apply><eq/>..... <cn>0</cn></apply>)
>>
>> David
>>
>
>
> Thank you :)
>
>
>
>>
>> ________________________________
>>
>>
>> The Numerical Algorithms Group Ltd is a company registered in England an=
d
>> Wales with company number 1249803. The registered office is:
>>
>> Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
>>
>>
>>
>> This e-mail has been scanned for all viruses by Microsoft Office 365.
>>
>> ________________________________
>>
>
>

--001a11425e44e560c90538f38883
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Shouldn&#39;t the first example on that page be formatted =
a little better? and use the numeric entity instead of the named one?<br><b=
r>&lt;math xmlns=3D&quot;<a href=3D"http://www.w3.org/1998/Math/MathML">htt=
p://www.w3.org/1998/Math/MathML</a>&quot;&gt;<br>=C2=A0 &lt;mrow&gt;<br>=C2=
=A0=C2=A0=C2=A0 &lt;mrow&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;msup&gt;=
<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;mi&gt;x&lt;/mi&gt;<br>=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;mn&gt;2&lt;/mn&gt;<br>=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0 &lt;/msup&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &l=
t;mo&gt;+&lt;/mo&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;mrow&gt;<br>=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;mn&gt;4&lt;/mn&gt;<br>=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;mo&gt;&amp;#x2062;&lt;!--INVISIBLE TI=
MES--&gt;&lt;/mo&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;mi&g=
t;x&lt;/mi&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;/mrow&gt;<br>=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0 &lt;mo&gt;+&lt;/mo&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0 &lt;mn&gt;4&lt;/mn&gt;<br>=C2=A0=C2=A0=C2=A0 &lt;/mrow&gt;<br>=C2=A0=C2=
=A0=C2=A0 &lt;mo&gt;=3D&lt;/mo&gt;<br>=C2=A0=C2=A0=C2=A0 &lt;mn&gt;0&lt;/mn=
&gt;<br>=C2=A0 &lt;/mrow&gt;<br>&lt;/math&gt;<br></div><div class=3D"gmail_=
extra"><br><div class=3D"gmail_quote">On Thu, Jul 28, 2016 at 5:39 AM, STF =
<span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=3D"_b=
lank">[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"g=
mail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=
eft:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><br><div class=3D"gmai=
l_quote"><span class=3D"">On 28 July 2016 at 10:16, David Carlisle <span di=
r=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=3D"_blank">davidc@=
nag.co.uk</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On=
 27/07/2016 12:11, STF wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
I&#39;m a newbie in MathML, so sorry if my question seems stupid.<br>
</blockquote>
<br></span>
Not stupid at all!<span><br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
I started to read MathML intro and I bumped into this page:<br>
<a href=3D"https://www.w3.org/Math/whatIsMathML.html" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.w3.org/Math/whatIsMathML.html</a><br>
<br>
At the end of this page, there&#39;s an example for the math expression<br>
x=C2=B2 + 4x + 4 =3D 0<br>
<br>
But when I read the semantic tags example, I only get<br>
x=C2=B2 + 4x + 4<br>
and the &quot;=3D 0&quot; seems missing for me.<br>
<br>
Could someone tell me if the example is correct or not?<br>
<br>
Thanks in advance<br>
<br>
</blockquote>
<br></span>
Thanks, fixed (added &lt;apply&gt;&lt;eq/&gt;..... &lt;cn&gt;0&lt;/cn&gt;&l=
t;/apply&gt;)<br>
<br>
David<br></blockquote><div><br><br></div></span><div>Thank you :)<br></div>=
<span class=3D""><div><br>=C2=A0</div><blockquote class=3D"gmail_quote" sty=
le=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
________________________________<br>
<br>
<br>
The Numerical Algorithms Group Ltd is a company registered in England and W=
ales with company number 1249803. The registered office is:<br>
<br>
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.<br>
<br>
<br>
<br>
This e-mail has been scanned for all viruses by Microsoft Office 365.<br>
<br>
________________________________<br>
</blockquote></span></div><br></div></div>
</blockquote></div><br></div>

--001a11425e44e560c90538f38883--