W3C home > Mailing lists > Public > www-validator@w3.org > February 2009

incorrect warning message

From: Joe Java <cop3252@yahoo.com>
Date: Thu, 12 Feb 2009 13:43:15 -0800 (PST)
To: www-validator@w3.org
Message-ID: <625252.14596.qm@web34405.mail.mud.yahoo.com>
According to 
Mathematical Markup Language (MathML) Version 2.0 (Second Edition)
W3C Recommendation 21 October 2003A.2 Using the MathML DTD
            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.
This contradicts the Latest MathML Recommendation.



      
Received on Thursday, 12 February 2009 21:43:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:34 GMT