Re: tidy as simple validator

* xah lee wrote:
>is there a way to configure tidy so that it simply report if the file 
>is malformed (e.g. missing tag or missing <) and give their line 
>numbers?

Note that Tidy does not report many errors like missing quote marks
around <font color=#ffffff>. Also note that "errors" are things Tidy
cannot recover from, normal errors are reported as Warnings.

>but tidy gives this verbose answer with "0 errors were found!"
>
>line 8 column 13 - Warning: replacing unexpected big by </big>
>line 8 column 1 - Warning: missing </h1> before </body>
>Info: Doctype given is "-//W3C//DTD HTML 4.01 Transitional//EN"
>Info: Document content looks like HTML 4.01 Strict
>2 warnings, 0 errors were found!

Using --show-warnings, --show-errors, -quiet, etc. you can control
this, see -help-config for details.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Saturday, 10 September 2005 10:06:46 UTC