I'm using Tidy to batch validate a website locally (via Selenium RC). The pages are using the HTML 4.01 Transitional doctype in which end tags are optional for many elements. However, for my purposes, a missing end tag will usually signal a coding error in the HTML template and I would like Tidy to warn about it despite the fact it's valid HTML. Is there a way to do this other than writing a custom DTD with OMITTAG set to NO? If not, how do I supply a custom DTD to Tidy (running as a C library I think) and are there any disadvantages to this approach? Thanks, Tam.Received on Thursday, 1 October 2009 06:59:01 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:37:59 GMT