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

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 UTC