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

incorrect warning message

From: Joe Java <cop3252@yahoo.com>
Date: Fri, 13 Feb 2009 03:35:40 -0800 (PST)
To: www-validator@w3.org
Message-ID: <152771.95310.qm@web34404.mail.mud.yahoo.com>

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:

but the latest MathML recommendation is

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"

But if this is doctype is used the validator at

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
does not match this document type.

The recommended System Identifier for XHTML 1.1 plus MathML 2.0 is 
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

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:58 UTC