W3C home > Mailing lists > Public > www-validator@w3.org > May 2010

HTML5 with MathML has problem with numerical attrubute values

From: Joe Java <cop3252@yahoo.com>
Date: Thu, 20 May 2010 08:50:55 -0700 (PDT)
Message-ID: <728006.61249.qm@web34402.mail.mud.yahoo.com>
To: www-validator@w3.org
I MAY have found a bug.

The validator at "http://validator.w3.org" does not like numerical
attribute values.

For example when validating:
https://www.eyeasme.com/Joe/MathML/HTML5_MathML_browser_test.html

Many attribute values are marked as "Bad value"

The easiest ones to check are those attributes which can only be
positive integers, for example "rowspan" and "columnspan".

The validator complains about the line:
<mtd columnspan="2">

with the message:

Error: Bad value 2 for attribute columnspan on element mtd.
>From line 1273, column 21; to line 1273, column 40
<mtd columnspan="2">↩

I checked the latest recommended MathML spec at:
http://www.w3.org/TR/MathML2/chapter3.html#presm.mtd
Section 3.5.4.2 Attributes

and the latest MathML next generation spec at:
http://www.w3.org/TR/2009/CR-MathML3-20091215/chapter3.html#presm.mtd
Section 3.5.4.2 Attributes

Both specify that the attributes "rowspan" and "columnspan" have
positive integer values.

Is this a bug or am I missing something?

Joe
Received on Thursday, 20 May 2010 15:51:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:40 GMT