W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 2002

Re: Amaya complains about wellformed document

From: Laurent Carcone <Laurent.Carcone@inrialpes.fr>
Date: Tue, 16 Jul 2002 18:06:15 +0200
To: Karl-Michael Schneider <schneide@phil.uni-passau.de>
Cc: www-amaya@w3.org
Message-Id: <20020716160615.A75626F92@tux.inrialpes.fr>

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.



> 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:38 UTC