This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 6326 - Errors for no reason: Attribute action not allowed on element body at this point. Attribute name not allowed on element body at this point.
Summary: Errors for no reason: Attribute action not allowed on element body at this po...
Status: RESOLVED WORKSFORME
Alias: None
Product: HTML Checker
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL: http://validator.w3.org/check?uri=htt...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-19 22:31 UTC by Oskar Larsson H
Modified: 2015-08-23 07:07 UTC (History)
1 user (show)

See Also:


Attachments

Description Oskar Larsson H 2008-12-19 22:31:59 UTC
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>"
Comment 1 Olivier Thereaux 2009-01-28 14:20:36 UTC
This seems to happen on a very irregular basis with the html5 engine. 

I restart it on a regular basis, which lowers the likeliness of this bug, somehow.

I haven't seen this bug bite in a few weeks, so changing to "worksforme".