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

XHTML + MathML + CSS doctype

From: Masatran / Deepak, R. <masatran@freeshell.org>
Date: Thu, 13 Aug 2009 15:42:56 +0000
To: www-validator-css@w3.org
Message-ID: <20090813154256.GA12241@SDF.LONESTAR.ORG>
>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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:01:05 UTC