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

Re: HTML5 with MathML has problem with numerical attrubute values

From: Michael(tm) Smith <mike@w3.org>
Date: Fri, 21 May 2010 01:31:10 +0900
To: Joe Java <cop3252@yahoo.com>
Cc: www-validator@w3.org
Message-ID: <20100520163109.GA36751@sideshowbarker>
Joe Java <cop3252@yahoo.com>, 2010-05-20 08:50 -0700:

> [...]
> 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
> [...]
> The validator complains about the line:
> <mtd columnspan="2">
> [...]
> 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?

It's a bug in the schema that's used by the validator.nu backend
on which the HTML5 facet of the W3C Markup Validator relies.

I've filed a bug report for it:

  http://bugzilla.validator.nu/show_bug.cgi?id=744

...and I will try to get the fix for that checked in very soon,
and pushed out to the W3C Markup Validator shortly after that.

  --Mike

-- 
Michael(tm) Smith
http://people.w3.org/mike
Received on Thursday, 20 May 2010 16:31:19 GMT

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