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

Re: BUG: tidy reports only warnings but complains about unfixed errors

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 04 Jun 2001 17:11:21 +0200
To: Steinar Bang <sb@metis.no>
Cc: html-tidy@w3.org
Message-ID: <4s5nhtc04fhrj6ivndjmgcb8uspcd8kctc@4ax.com>
* Steinar Bang wrote:
>Platform: tidy 4th august 2000, linux
> - I downloaded this page 
>	<http://www.ics.uci.edu/pub/ietf/webdav/protocol/issues.html>
>   to the local file issues-orig.html
> - I ran tidy with the command
>	tidy -xml issues-orig.html >issues.html
>The resulting issues.html had a size of 0 bytes, and tidy complained
>about errors that needs to be fixed, but all error messages seems to
>be warnings.


>The return code is 02, which the manual says means that errors have
>been encountered.


>Error output follows:
>line 251 column 1 - Warning: unexpected </head> in <link>

This warnings comes 7 times...

>This document has errors that must be fixed before
>using HTML Tidy to generate a tidied up version.

The mentioned warning is actually an error reported by
localize.c:ReportError() (code == UNEXPECTED_ENDTAG).

I don't know _why_ it says 'Warning:' instead of 'Error'; Dave?
I think we should fix this, it's really confusing. Comments?
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/
Received on Monday, 4 June 2001 11:10:31 UTC

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