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

Henri Sivonen wrote:

> 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">

Fine, no problem with that one.
> 
>>     <!-- #PRAGMAT mode="Almost-standards" -->
> 
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  
> "http://www.w3.org/TR/html4/loose.dtd">


But I want full standards mode with transitional syntax; is that
really so unreasonable ?

> 
>>     <!-- #PRAGMAT mode="Quirks" -->
> 
> 
> (No doctype.)
> 
Can't be validated, hence useless (i.e., not HTML at all).

Received on Thursday, 13 July 2006 22:44:11 UTC