tidy-html5/test/html5/html4
2014-08-08 17:55:56 +02:00
..
acronym4.html add a html4 removed tags test folder 2014-08-05 13:11:09 +02:00
acronym5.html add some more HTML4 to HTML5 test files 2014-08-08 17:50:12 +02:00
align5.html add some more HTML4 to HTML5 test files 2014-08-08 17:50:12 +02:00
applet4.html add a html4 removed tags test folder 2014-08-05 13:11:09 +02:00
applet5.html add some more HTML4 to HTML5 test files 2014-08-08 17:50:12 +02:00
basefont4.html add a html4 removed tags test folder 2014-08-05 13:11:09 +02:00
basefont5.html add some more HTML4 to HTML5 test files 2014-08-08 17:50:12 +02:00
big4.html add a html4 removed tags test folder 2014-08-05 13:11:09 +02:00
big5.html add some more HTML4 to HTML5 test files 2014-08-08 17:50:12 +02:00
blink5.html add some more HTML4 to HTML5 test files 2014-08-08 17:50:12 +02:00
bodyatts5.html add some more HTML4 to HTML5 test files 2014-08-08 17:50:12 +02:00
center4.html add a html4 removed tags test folder 2014-08-05 13:11:09 +02:00
center5.html add some more HTML4 to HTML5 test files 2014-08-08 17:50:12 +02:00
center25.html add some more HTML4 to HTML5 test files 2014-08-08 17:50:12 +02:00
cleanup.bat add a html4 removed tags test folder 2014-08-05 13:11:09 +02:00
dir4.html add a html4 removed tags test folder 2014-08-05 13:11:09 +02:00
dir5.html add some more HTML4 to HTML5 test files 2014-08-08 17:50:12 +02:00
font4.html add a html4 removed tags test folder 2014-08-05 13:11:09 +02:00
font5.html add some more HTML4 to HTML5 test files 2014-08-08 17:50:12 +02:00
frame_a.htm add a html4 removed tags test folder 2014-08-05 13:11:09 +02:00
frame_b.htm add a html4 removed tags test folder 2014-08-05 13:11:09 +02:00
frame_c.htm add a html4 removed tags test folder 2014-08-05 13:11:09 +02:00
frameset4.html add a html4 removed tags test folder 2014-08-05 13:11:09 +02:00
frameset5.html add some more HTML4 to HTML5 test files 2014-08-08 17:50:12 +02:00
index2.html add some more HTML4 to HTML5 test files 2014-08-08 17:50:12 +02:00
obsolete.txt add some more HTML4 to HTML5 test files 2014-08-08 17:50:12 +02:00
README.html4.txt Some more README updates 2014-08-08 17:55:56 +02:00
setexe.bat add some more HTML4 to HTML5 test files 2014-08-08 17:50:12 +02:00
strike4.html add a html4 removed tags test folder 2014-08-05 13:11:09 +02:00
strike5.html add some more HTML4 to HTML5 test files 2014-08-08 17:50:12 +02:00
testacro.bat add some more HTML4 to HTML5 test files 2014-08-08 17:50:12 +02:00
testbig.bat add some more HTML4 to HTML5 test files 2014-08-08 17:50:12 +02:00
testbody.bat add some more HTML4 to HTML5 test files 2014-08-08 17:50:12 +02:00
testcent.bat add some more HTML4 to HTML5 test files 2014-08-08 17:50:12 +02:00
testcent2.bat add some more HTML4 to HTML5 test files 2014-08-08 17:50:12 +02:00
testdir.bat add some more HTML4 to HTML5 test files 2014-08-08 17:50:12 +02:00
testfont.bat add some more HTML4 to HTML5 test files 2014-08-08 17:50:12 +02:00
testhtml4.cmd add a html4 removed tags test folder 2014-08-05 13:11:09 +02:00
testi2.bat add some more HTML4 to HTML5 test files 2014-08-08 17:50:12 +02:00
testone.bat add some more HTML4 to HTML5 test files 2014-08-08 17:50:12 +02:00
testtt.bat add some more HTML4 to HTML5 test files 2014-08-08 17:50:12 +02:00
tt4.html add a html4 removed tags test folder 2014-08-05 13:11:09 +02:00
tt5.html add some more HTML4 to HTML5 test files 2014-08-08 17:50:12 +02:00

README.html4.txt - 20140805

## Tests 1

This folder contains about dozen HTML files, each using a tag or tags REMOVED from HTML5,
all named *4.html

Running these files through standard 2009 tidy should mostly produce no errors or warnings.

However if a HTML 5 aware tidy is used, and doctype: html5 is configured, EACH should
have warnings and/or errors...

A batch file, testhtml4.cmd is provided to run these tests using the tidy5.exe 
built using build/cmake... system, namely expects the EXE to be at -

 ..\..\..\build\cmake\Release\tidy5.exe.

If you have used some 'other' build system, then the batch file may have to be 
adjusted to find the correct EXE to use.

At the end it will report the number of tests that failed, which should be ZERO 
for a successful run. Remember here success is when a warning or error is produced, 
and a FAILURE if a clean run.

There is also a cleanup.bat to delete the products produced by this test.

## Tests 2

This folder contains about 14 HTML files, each using a tag or tags REMOVED from HTML5,
all named *5.html. A lot of the tests came from reading -
 http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html
A text copy, obsolete.txt is included in this folder.

These were use to test an develop the CheckHTML5(doc,node) service. And there are
a set of batch file to run these tests, named test*.bat, and some 'special' 
batch file like -

setexe.bat - This is called by all others to set the location of the EXE to use. This 
 file will need to be ADJUST to point to where the Tidy EXE that you want to use.
 
testone.bat - After setting the input file, each test????.bat calls this to conduct
 four (4) tests -
 Using configure DOCTYPE AND CLEAN
 Using configure DOCTYPE but NO CLEAN
 Using configure CLEAN but NO DOCTYPE
 Using configure NO CLEAN and NO DOCTYPE

All the output is redirected to tempinfo.html
 
The set of test batch files is -
testacro.bat testbig.bat testbody.bat testcent.bat testcent2.bat testdir.bat 
testfont.bat testi2.bat testtt.bat

The name generally indicates the tag or attribute being tested...

Enjoy.

# eof