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

inconsistency: validating an XHTML 1.1 + SVG document with a W3C-provided DOCTYPE throws a warning

From: Mitch <mitch074@gmail.com>
Date: Wed, 17 Feb 2010 12:14:42 +0100
Message-ID: <4B7BCFA2.6070309@yahoo.fr>
To: www-validator@w3.org
Hello,

I copy-pasted from http://www.w3.org/QA/2002/04/valid-dtd-list.html:

<!DOCTYPE html PUBLIC

     "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN"
     "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd">

On top of an XHTML + inline SVG document that otherwises validate 
(through direct input). The validators however warns me that

This document uses an inconsistent DOCTYPE declaration. The Public 
Identifier |-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN| 
declares the |XHTML 1.1 plus MathML 2.0 plus SVG 1.1| document type, but 
the associated System Identifier 
|http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd| does not 
match this document type.

It seems the provided DOCTYPE examples on 
http://www.w3.org/QA/2002/04/valid-dtd-list.html need updating to:

<!DOCTYPE html PUBLIC

     "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN"
     "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd">

or that the validator's warning link needs updating to point to a more recent sample DOCTYPEs page.

Regards,

Mitch 74
Received on Thursday, 18 February 2010 12:58:23 GMT

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