incorrect warning message

Sorry about the bad formatting in the previous message.

The problem is that the recommended doctype for MathML 
documents is issued a warning by validator.

The problem line is the location of the DTD.
The validator wants this very old location:
 
http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd

but the latest MathML recommendation is
http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd

According to 

Mathematical Markup Language (MathML) Version 2.0 (Second Edition)
W3C Recommendation 21 October 2003

A.2.3 MathML as a DTD Module
a document should contain the doctype declaration
                  
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"
           "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd"
>

But if this is doctype is used the validator at
http://validator.w3.org/

gives the following warning:

Mismatch between Public and System identifiers in the DOCTYPE declaration
    This document uses an inconsistent DOCTYPE declaration. 
    
    The Public Identifier  
	-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN 
declares the XHTML 1.1 plus MathML 2.0 document type, 
but the associated System Identifier
	http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd 
does not match this document type.

The recommended System Identifier for XHTML 1.1 plus MathML 2.0 is 
http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd.
    
The safest way to use a correct DOCTYPE declaration is to copy and paste
one from the recommended list  and avoid editing that part of your markup
by hand.

The recommended Doctype declaration should not be issued a warning.




      

Received on Friday, 13 February 2009 11:36:19 UTC