RE: <mi> 1 </mi>

Hi,
I would say the specification is very clear. 
A digit is a character and default style for a single character in an <mi> element is italic.

Mozilla and other renderers renders <mi>1</mi> as italic. 

Well, there are also other renderers that displays it in normal style.

Bernhard

-----Original Message-----
From: www-math-request@w3.org [mailto:www-math-request@w3.org] On Behalf Of Michael Day
Sent: Sunday, February 01, 2004 9:47 AM
To: www-math@w3.org
Subject: <mi> 1 </mi>



Hi,

The MathML 2.0 specification suggests that <mi> render as italic by default if it contains a single character.

However, it does not specify the behaviour if the <mi> contains a single digit character, such as <mi> 1 </mi>.

There are many test cases in the MathML test suite which use <mi> in this fashion instead of <mn> (some of these uses appear to be
accidental, but it is difficult to tell with others).

The sample output for the test cases never makes single digits italic, regardless of whether or not they are in an <mi>.

Should the specification be updated to say "single letter character"  
rather than just "single character"?

Are the test cases which include such constructions as this:

	<mfrac>
	    <mi> 1 </mi>
	    <mi> 2 </mi>
	</mfrac>

incorrect, or is this a perfectly legitimate use of <mi>?

Thank you,

Michael

--
YesLogic Prince prints XML!
http://yeslogic.com

Received on Sunday, 1 February 2004 05:16:51 UTC