W3C home > Mailing lists > Public > www-validator@w3.org > July 2006

Re: "Unknown Parse Mode!" when validating with DOCTYPE chosen to force STRICT mode in Mozilla

From: L. David Baron <dbaron@dbaron.org>
Date: Thu, 13 Jul 2006 15:32:52 -0700
To: Philip TAYLOR <P.Taylor@Rhul.Ac.Uk>
Cc: olivier Thereaux <ot@w3.org>, www-validator@w3.org
Message-ID: <20060713223252.GA10461@ridley.dbaron.org>
On Thursday 2006-07-13 23:15 +0100, Philip TAYLOR wrote:
> What a shame that the W3C and the major browser vendors can't agree
> on something like a head-region pragmat to trigger standards mode,
> maybe along the lines of
> 
> 	<!-- #PRAGMAT mode="Full-standards" -->
> 	<!-- #PRAGMAT mode="Almost-standards" -->
> 	<!-- #PRAGMAT mode="Quirks" -->

We don't want authors to be able to do the second or the third, since we
want as many pages as possible to be in standards mode (i.e., all
newly-created pages).  There are two ways for authors to do an
equivalent of the first:

 * <!DOCTYPE HTML>, if they weren't otherwise using a DOCTYPE
   declaration

 * add an empty internal subset to whatever doctype declaration they are
   otherwise using

-David

-- 
L. David Baron                                <URL: http://dbaron.org/ >
           Technical Lead, Layout & CSS, Mozilla Corporation

Received on Thursday, 13 July 2006 22:33:12 GMT

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