Re: API of Tidy-lib

Bjoern Hoehrmann <[email protected]> Sat, 07 Jan 2006 08:09:57 +0100
Newsgroups gmane.comp.web.html-tidy.devel
Message-ID <[email protected]>
* Robert Marquardt wrote:
>Why does Tidy-lib has these families of functions tidyNodeIsHTML,
>tidyAttrIsHREF, tidyAttrGetHREF?
>It would be much simpler to replace each family by a single function
>with an additional enum parameter. In fact the implementation is
>precisely doing that by using AttrIsId.

I don't know why we have those, and I'm all for replacing them if that
makes our code simpler, but it would seem people depend on them by now
and removing them would break their code...
-- 
Björn Höhrmann · mailto:[email protected] · 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/ 


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click