W3C home > Mailing lists > Public > www-math@w3.org > July 2016

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

From: Andrew Robbins <andjrob@gmail.com>
Date: Sun, 31 Jul 2016 15:31:47 -0400
Message-ID: <CAAMbixJ9Tj9wSAQoeekpMcNeSk8V3PuaAadoL3pgggRZF_pwDA@mail.gmail.com>
To: STF <lapsap7+mml@gmail.com>
Cc: www-math@w3.org
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="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>=</mo>
    <mn>0</mn>
  </mrow>
</math>

On Thu, Jul 28, 2016 at 5:39 AM, STF <lapsap7+mml@gmail.com> wrote:

>
> On 28 July 2016 at 10:16, David Carlisle <davidc@nag.co.uk> 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² + 4x + 4 = 0
>>>
>>> But when I read the semantic tags example, I only get
>>> x² + 4x + 4
>>> and the "= 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 and
>> 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.
>>
>> ________________________________
>>
>
>
Received on Sunday, 31 July 2016 19:32:17 UTC

This archive was generated by hypermail 2.3.1 : Sunday, 31 July 2016 19:32:18 UTC