[Bug 6747] New: Direct input of HTML5 seems to validate anything

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

           Summary: Direct input of HTML5 seems to validate anything
           Product: Validator
           Version: HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: HTML5
        AssignedTo: dave.null@w3.org
        ReportedBy: eric@pixelwareinc.com
         QAContact: www-validator-cvs@w3.org


Created an attachment (id=674)
 --> (http://www.w3.org/Bugs/Public/attachment.cgi?id=674)
HTML5 doc that should not validate

When doing direct input of a HTML5 document the validator seems to return it
being ok no matter what. Attached is a small test file that shows the problem.
The <body> tags is purposely mistyped as <bodly>. If I upload this file then I
get an error as expected. But if I copy and paste the text in the direct input
then it says the document is ok even though it is not.

After a bit of testing I discovered that if I explicitly tell it that the
content is HTML5 then it detects the problems fine. So it only seems to be a
problem if the doctype is automatically detecting the doctype (even though it
is automatically detecting HTML5 correctly).


-- 
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 Monday, 30 March 2009 02:59:57 UTC