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: Henri Sivonen <hsivonen@iki.fi>
Date: Fri, 14 Jul 2006 01:36:38 +0300
Message-Id: <DF3F11F7-3EBC-47EC-930C-A59490100DEB@iki.fi>
To: www-validator@w3.org

On Jul 14, 2006, at 01:15, 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

Back when the sniffing was devised, HTML 4.01 was already a REC, so  
the heuristic was designed not to require any "yes, really" flag  
added to HTML 4.01.

> 	<!-- #PRAGMAT mode="Full-standards" -->

<!DOCTYPE html>
or
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/ 
TR/html4/strict.dtd">

> 	<!-- #PRAGMAT mode="Almost-standards" -->

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  
"http://www.w3.org/TR/html4/loose.dtd">

> 	<!-- #PRAGMAT mode="Quirks" -->

(No doctype.)

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Thursday, 13 July 2006 22:36:50 GMT

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