W3C home > Mailing lists > Public > www-math@w3.org > January 2003

use of literal 'pi' in cn example (section

From: Michael McCarthy <Michael.McCarthy@solcorp.com>
Date: Mon, 20 Jan 2003 09:01:59 -0500
Message-ID: <8350FB93E0142041A38F028F974156A248D51F@rotexchange.rotterdam.solcorp.com>
To: "'www-math@w3.org'" <www-math@w3.org>

In section the last example is an example of 'pi', where 'pi' is
expressed as a symbol. This notation is not in the spirit of content mathml,
1) if the intention is to refer to a symbol called 'pi', then the
appropriate mechanism is to use the <csymbol/> element instead of using the
<cn/> element
2) this constant is already defined as <pi/>

Since the grammar does not say what type="constant" means, using &pi; is not
forbidden (for all we know, the author's number system could be &pi; &rho;
&sigma;). However, I don't see it that this notation should be promoted by
listing it in the specification.

For completeness, this is what the paragraph I'm referring to looks like: Examples 

<cn type="real"> 12345.7 </cn>
<cn type="integer"> 12345 </cn>
<cn type="integer" base="16"> AB3 </cn>
<cn type="rational"> 12342 <sep/> 2342342 </cn>
<cn type="complex-cartesian"> 12.3 <sep/> 5 </cn>
<cn type="complex-polar"> 2 <sep/> 3.1415 </cn>
<cn type="constant">  &pi; </cn>

Kind regards,
Michael McCarthy.
Received on Monday, 20 January 2003 09:10:17 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:27:33 UTC