Re: Amaya complains about wellformed document

Hello Karl,

It's not an error, just a warning to inform you.
Amaya tries to clean up some HTML mistakes, particularly it inserts a <body> 
element when it is missing. But this checking is made after parsing the 
document, it's the reason why you have this warning.

Regards,

Laurent

> The little test document below is validated by the W3C validation service and
> by tidy. Some folks on the www-validator mailing list told me that the missing
> start-tag of the body element is implied by the p tag. Amaya (6.2, Linux)
> inserts a body start-tag, as can be seen in the structure view, but then
> complains about an unexpected body end-tag.
> 
> Karl-Michael
> 
> 
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
>       "http://www.w3.org/TR/html4/loose.dtd">
> <html>
> <head>
>   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
>   <title>Test</title>
> </head>
> 
> <p>Test</p>
> </body>
> </html>
> 
> 

Received on Tuesday, 16 July 2002 12:06:58 UTC