- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- Date: Sun, 28 Jan 2007 15:31:47 +0100
- To: Karthik Krishnamurthy <karthik.krishnamurthy@yahoo.com>
- Cc: html-tidy@w3.org
* Karthik Krishnamurthy wrote: >I am using HTML::Tidy to validate blocks of html. I need to get >HTML::Tidy to get to warn on encountering empty tags without a trailing >slash (img,br,hr etc) like it does for a missing </span> as below Tidy corrects this kind of problem without generating a warning, in some cases it might not even be possible to warn about it since Tidy might not yet know whether to treat the document as HTML or as XHTML. If you want to check an XML document for well-formedness, it's best to use an XML parser, not Tidy, for the task. -- 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 Sunday, 28 January 2007 14:31:55 UTC