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>
Hi,

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 
"W:\external-tools\tidy\myfile.htm.out"


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
Thomas



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

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