[Bug 6326] New: Errors for no reason: Attribute action not allowed on element body at this point. Attribute name not allowed on element body at this point.

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

           Summary: Errors for no reason: Attribute action not allowed on
                    element body at this point. Attribute name not allowed
                    on element body at this point.
           Product: Validator
           Version: 0.8.4
          Platform: All
               URL: http://validator.w3.org/check?uri=http%3A%2F%2Fv.rickrol
                    l.nu%2F%3Fv%3D1&charset=(detect+automatically)&doctype=H
                    TML5&group=0&user-agent=W3C_Validator%2F1.606
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5
        AssignedTo: dave.null@w3.org
        ReportedBy: osk522@gmail.com
         QAContact: www-validator-cvs@w3.org


I get the errors "Attribute action not allowed on element body at this point."
and "Attribute name not allowed on element body at this point."
But in my code body has no attributes.
Here is the (UTF-8 without BOM) code I tried to validate as HTML5 (without
quotes):


"<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
        <head>
                <title>The most destructive weapon ever!!!</title>
                <meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
        </head>
        <body>
                <div style="text-align: center;">
                        <h1>rickroll.nu - Videos</h1><br>

                        <h2>The most destructive weapon ever!!!</h2><br><object
type="application/x-shockwave-flash" width="425" height="355"
data="http://www.youtube.com/v/8aJjMOy-Ops&amp;hl=sv&amp;fs=1"><param
name="movie"
value="http://www.youtube.com/v/8aJjMOy-Ops&amp;hl=sv&amp;fs=1"></object>      
       </div>
        </body>
</html>"


-- 
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 Friday, 19 December 2008 22:32:09 UTC