W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 1999

Tidy seems to duplicate </BODY> instead of removing it

From: Francisco Guardiola <fguardiola@infodigital.com>
Date: Thu, 15 Apr 1999 10:26:21 +0200
Message-ID: <01BE872A.D3369B20.fguardiola@infodigital.com>
To: "'html-tidy@w3.org'" <html-tidy@w3.org>

It seems there is an error in tidy, with the folowing input file (attached as tidyTst1.ori):

<TITLE>  TidyTst1.htm Test /BODY not removed, but duplicated </TITLE>
<frameset cols=170,*>
<frame name=menu src=menu.htm scrolling=no marginheight=0 marginwidth=0>
<frame name=data src=data.htm >
<BODY bgcolor="#ffffff">
     FRAMESET is used.

executing:> tidy tidyTst1.htm (or tidy -f tidyTst1.err -m tidyTst1.htm)

the following errors are issued (attached as tidyTst1.err):

Tidy (vers 12th April 1999) Parsing "tidyTst1.htm"
line 9 column 1 - Warning: discarding unexpected <BODY>
line 13 column 1 - Warning: missing </NOFRAMES>

"tidyTst1.htm" appears to be HTML 4.0 Frameset
2 warnings/errors were found!

HTML & CSS specifications are available from W3C at "http://www.w3.org/"
To learn more about Tidy see "http://www.w3.org/People/Raggett/tidy/"
Please send bug reports to Dave Raggett care of <html-tidy@w3.org>
Lobby your company to join W3C, see http://www.w3.org/Consortium

and produces the following output (attached as tidyTst1.htm):

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">
<title>TidyTst1.htm Test /BODY not removed, but duplicated</title>
<frameset cols="170,*">
<frame name="menu" src="menu.htm" scrolling="no" marginheight="0"
<frame name="data" src="data.htm">
FRAMESET is used.

that has </body> duplicated instead of removed.
This also happens with the previos version.

Best regards.


Received on Thursday, 15 April 1999 04:27:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:46 UTC