W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2005

Re: tidy as simple validator

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sat, 10 Sep 2005 12:07:06 +0200
To: xah lee <xah@xahlee.org>
Cc: html-tidy@w3.org
Message-ID: <hrb5i15disg58dk4t5mb0tmn1u22e9ei1f@hive.bjoern.hoehrmann.de>

* 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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:55 GMT