ID: 44887 Updated by: [EMAIL PROTECTED] Reported By: xwisdom at yahoo dot com -Status: Open +Status: Bogus Bug Type: Feature/Change Request Operating System: Windows XP PHP Version: 5.2.6 New Comment:
Functionality provided by third party lib. Due to HTML being "broken syntax" the loadHTML method needs to perform numerous checks and then try to fix things in attempt to create proper XML, unlike using the loadXML method where proper XML is assumed so parser does not need to perform many of the checks nor try to fix things. Previous Comments: ------------------------------------------------------------------------ [2008-05-02 02:00:56] xwisdom at yahoo dot com Description: ------------ I would like to see some speed improvement for DOMDocument->loadHTML(). At the moment it takes a much longer time to load an xhtml document than would loadXML(). Make the loading/parsing much faster will be a great improvement for PHP DOM processing. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44887&edit=1