W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2010

Using Tidy for validation only

From: ts <schulz@post5.tele.dk>
Date: Fri, 22 Oct 2010 04:24:59 +0200
Message-ID: <3EB96B1A46F04722A39FF0643A27C242@msrdtswvista>
To: <html-tidy@w3.org>

I am not interested in using Tidy for fixing HTML.
I am only interested in getting number of errors and warnings.

tidy.exe --char-encoding utf8 --show-errors 255 --show-warnings true 
"W:\external-tools\tidy\myfile.htm" --error-file 
"W:\external-tools\tidy\myfile.htm.err" --output-file 
"W:\external-tools\tidy\myfile.htm" --output-file 

Preferebly, I don't want Tidy to spend time patching HTML.
I really only want it to output errors + warnings into the error file.
If possible, I am actually only interested in error+warning counts :)

As it is, it seems Tidy only reports errors for HTML it can not fix.
I deduce this from the fact that the HTML it shows in command
line after the call appear to have been modified and "fixed".
It does not include those fixed errors in its error count.

best regards

Received on Friday, 22 October 2010 13:23:41 UTC

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