<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>6602</bug_id>
          
          <creation_ts>2009-02-20 19:40:40 +0000</creation_ts>
          <short_desc>unable to CSS validate a valid MathML document</short_desc>
          <delta_ts>2009-02-26 15:47:59 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSSValidator</product>
          <component>CSS 2.1</component>
          <version>CSS Validator</version>
          <rep_platform>Macintosh</rep_platform>
          <op_sys>Mac System 9.x</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="JoeJava">cop3252</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>23845</commentid>
    <comment_count>0</comment_count>
    <who name="JoeJava">cop3252</who>
    <bug_when>2009-02-20 19:40:40 +0000</bug_when>
    <thetext>The document below is a valid XHTML 1.1 plus MathML 2.0 document.
The document is saved as a file named math.xhtml

--**--

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

--**--

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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23846</commentid>
    <comment_count>1</comment_count>
    <who name="JoeJava">cop3252</who>
    <bug_when>2009-02-20 19:44:18 +0000</bug_when>
    <thetext>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:

&lt;!DOCTYPE math 
    PUBLIC &quot;-//W3C//DTD MathML 2.0//EN&quot;
           &quot;http://www.w3.org/TR/MathML2/dtd/mathml2.dtd&quot;
&gt;

The DOCTYPE is no longer recommended but was OK and should still be accepted.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23959</commentid>
    <comment_count>2</comment_count>
      <attachid>645</attachid>
    <who name="Yves Lafon">ylafon</who>
    <bug_when>2009-02-26 15:15:06 +0000</bug_when>
    <thetext>Created attachment 645
MathML test</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23960</commentid>
    <comment_count>3</comment_count>
    <who name="Yves Lafon">ylafon</who>
    <bug_when>2009-02-26 15:28:16 +0000</bug_when>
    <thetext>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 )</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23961</commentid>
    <comment_count>4</comment_count>
    <who name="Yves Lafon">ylafon</who>
    <bug_when>2009-02-26 15:47:59 +0000</bug_when>
    <thetext>Fixed on http://qa-dev.w3.org:8001/css-validator/</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>645</attachid>
            <date>2009-02-26 15:15:06 +0000</date>
            <delta_ts>2009-02-26 15:15:06 +0000</delta_ts>
            <desc>MathML test</desc>
            <filename>mathmltest.mathml</filename>
            <type>application/xhtml+xml</type>
            <size>397</size>
            <attacher name="Yves Lafon">ylafon</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWwgCiAgICBQVUJMSUMgIi0vL1czQy8vRFREIFhIVE1MIDEuMSBwbHVzIE1h
dGhNTCAyLjAvL0VOIiAKICAgICAgICAgICAiaHR0cDovL3d3dy53My5vcmcvVFIvTWF0aE1MMi9k
dGQveGh0bWwtbWF0aDExLWYuZHRkIgo+CjxodG1sIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8x
OTk5L3hodG1sIiB4bWw6bGFuZz0iZW4iPgogIDxoZWFkPgogICAgPG1ldGEgaHR0cC1lcXVpdj0i
Q29udGVudC1UeXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9dXRmLTgiLz4KICAgIDx0
aXRsZT5BIFZhbGlkIE1hdGhNTCBEb2N1bWVudDwvdGl0bGU+CiAgPC9oZWFkPgogIDxib2R5Pgog
ICAgPGgxPkEgVmFsaWQgTWF0aE1MIERvY3VtZW50PC9oMT4KICA8L2JvZHk+CjwvaHRtbD4KCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>