[Bug 12072] Comments before <!DOCTYPE html> should be forbidden

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12072

--- Comment #25 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> 2011-05-05 12:45:44 UTC ---
(In reply to comment #24)

> So the question really is whether the minor additional implementation
> burden on existing parser implementations that do syntax validation is worth it.

Instead of an error message, how about simply issueing some kind of warning in
validators, so that: [*]

 ]] authors who are validating their documents are less likely to waste time
with this kind of mistake [[ 

[*]
http://dev.w3.org/html5/spec/introduction#restrictions-on-content-models-and-on-attribute-values

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 5 May 2011 12:45:47 UTC