This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 6602 - unable to CSS validate a valid MathML document
Summary: unable to CSS validate a valid MathML document
Status: RESOLVED FIXED
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: CSS 2.1 (show other bugs)
Version: CSS Validator
Hardware: Macintosh Mac System 9.x
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-20 19:40 UTC by JoeJava
Modified: 2009-02-26 15:47 UTC (History)
0 users

See Also:


Attachments
MathML test (397 bytes, application/xhtml+xml)
2009-02-26 15:15 UTC, Yves Lafon
Details

Description JoeJava 2009-02-20 19:40:40 UTC
The document below is a valid XHTML 1.1 plus MathML 2.0 document.
The document is saved as a file named math.xhtml

--**--

<!DOCTYPE html 
    PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" 
           "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd"
>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>A Valid MathML Document</title>
  </head>
  <body>
    <h1>A Valid MathML Document</h1>
  </body>
</html>

--**--

The CSS validator fails with:

Target: (private location)/math.xhtml

I/O Error: /usr/local/Jigsaw/Jigsaw/WWW/css-validator/org/w3c/css/util/xml/mathml/xhtml-math11-f.dtd (No such file or directory) 


one strange thing is it works OK if saved as math.html and not math.xhtml
Comment 1 JoeJava 2009-02-20 19:44:18 UTC
Forgot to add that this is a valid Doctype found at:
Mathematical Markup Language (MathML) Version 2.0
W3C Recommendation 21 February 2001
A.1 DOCTYPE Declaration for MathML

Documents using this DTD should contain a doctype declaration of the form:

<!DOCTYPE math 
    PUBLIC "-//W3C//DTD MathML 2.0//EN"
           "http://www.w3.org/TR/MathML2/dtd/mathml2.dtd"
>

The DOCTYPE is no longer recommended but was OK and should still be accepted.
Comment 2 Yves Lafon 2009-02-26 15:15:06 UTC
Created attachment 645 [details]
MathML test
Comment 3 Yves Lafon 2009-02-26 15:28:16 UTC
In fact the file was missing during the checkout in the production server, fixed now.
We still need to fix the dtd (cf discussion on www-validator-css: 
http://lists.w3.org/Archives/Public/www-validator-css/2008Dec/0012.html )
Comment 4 Yves Lafon 2009-02-26 15:47:59 UTC
Fixed on http://qa-dev.w3.org:8001/css-validator/