NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 743 - [MathML] Problem with mtable attributes
[MathML] Problem with mtable attributes
Status: RESOLVED FIXED
Product: Validator.nu
Classification: Unclassified
Component: MathML 2.0 schema
HEAD
All All
: P2 normal
Assigned To: Michael[tm] Smith
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-05-11 23:00 CEST by Nicholas Wilson
Modified: 2010-05-21 14:20 CEST (History)
2 users (show)

See Also:


Attachments
patch (4.11 KB, patch)
2010-05-21 10:58 CEST, Michael[tm] Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicholas Wilson 2010-05-11 23:00:57 CEST
The schema for MathML tables has at least one problem. The spec gives

columnspacing := (number h-unit | namedspace) +

for the columnspacing attribute on mtable, but the validator throws a "Bad value" error on simple strings like "1em". Automated MathML tools like Orrca's LaTeX to MathML converter produce strings like that, so it is not just my reading of the spec.

There may well be other related attributes which have problems, but I have not investigated.
Comment 1 Michael[tm] Smith 2010-05-21 10:58:41 CEST
Created attachment 164 [details]
patch
Comment 2 Michael[tm] Smith 2010-05-21 10:59:00 CEST
validator r357
Comment 3 Michael[tm] Smith 2010-05-21 11:16:21 CEST
Hi Nicholas,

I've attempted to fix this. Please test here:

  http://qa-dev.w3.org:8888/

...and let me know if it works as expected now.

If not, please re-open this bug and provide a URL for a page I can test against.
Comment 4 Nicholas Wilson 2010-05-21 14:20:56 CEST
My page now passes the validator, and the patch looks about right but having not read the entire spec I am not really able to say whether everything is entirely fixed. It works for me now though. Quick work! Thanks Michael.