XHTML + MathML + CSS doctype

>From <http://www.w3.org/QA/2002/04/valid-dtd-list.html>:

|   XHTML + MathML + SVG Profile (XHTML as the host language) - DTD:
|
|       <!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">

But when I use this doctype, and validate the webpage, I get:

|   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 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.
|
|   The recommended System Identifier for XHTML 1.1 plus MathML 2.0 plus SVG 1.1 is http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.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.

Both doctypes are valid, and the validator ought to accept both.

-- 
Masatran / Deepak, R.

Received on Sunday, 16 August 2009 10:30:11 UTC