- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- Date: Sun, 25 Apr 2004 13:47:35 +0200
- To: Nick Kew <nick@webthing.com>
- Cc: www-validator@w3.org
* Nick Kew wrote: >> AFAIK, libxml2 helps to >> parse tag soup to some extend, but lacks most of Tidy's functionality >> which requires a DOM and could thus not be realized with a streaming >> API. > >It doesn't have all of Tidy's capabilities. But it has ample for the >task in question. In fact for the purpose of ensuring valid output, >the fact that it now supports DTDs and validation makes it the better >tool. One would not want to know whether the document meets the contraints of some DTD again and again, one would rather want that it comes out as conforming to the relevant specifications as possible. Apart from adding some quote marks, end tags and escaping some special characters, libxml2 is unable to help in this regard which renders it rather useless here.
Received on Sunday, 25 April 2004 07:51:56 UTC