W3C home > Mailing lists > Public > www-math@w3.org > June 2012

Error in RelaxNG schema

From: Frédéric WANG <fred.wang@free.fr>
Date: Sat, 30 Jun 2012 00:05:45 +0200
Message-ID: <4FEE26B9.5020502@free.fr>
To: "www-math@w3.org" <www-math@w3.org>
Hello,

The MathML RelaxNG schema does not allow a negative /rownumber/ for the 
align attribute of mtable. A minus sign should be added to the pattern.

mtable.attributes =
   CommonAtt, CommonPresAtt,
   attribute align {xsd:string {
     pattern ='\s*(top|bottom|center|baseline|axis)\s*[0-9]*'}}?,

(discovered by trying to validate 
http://www.mozilla.org/projects/mathml/demo/mtable.html with 
http://validator.w3.org/nu/)

-- 
Frédéric Wang
maths-informatique-jeux.com/blog/frederic
Received on Friday, 29 June 2012 22:04:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 29 June 2012 22:04:31 GMT