ID: 46620 Updated by: [EMAIL PROTECTED] Reported By: crrodriguez at opensuse dot org -Status: Open +Status: Bogus Bug Type: DOM XML related Operating System: linux PHP Version: 5.2CVS-2008-11-19 (CVS) New Comment:
libxml2 has entity bugs in 2.7.0 and 2.7.1. use either newer or older versions. Previous Comments: ------------------------------------------------------------------------ [2008-11-19 18:00:42] crrodriguez at opensuse dot org Description: ------------ dom005.phpt fails with libxml 2.7.1 Reproduce code: --------------- http://cvs.php.net/viewvc.cgi/php-src/ext/dom/tests/dom005.phpt?view=co Expected result: ---------------- see http://cvs.php.net/viewvc.cgi/php-src/ext/dom/tests/dom005.phpt?view=co Actual result: -------------- --- save as XML <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html><head><title>Hello world</title></head><body> This is a not well-formed<br> html files with undeclared entities </body></html> --- save as HTML <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head><title>Hello world</title></head> <body> This is a not well-formed<br> html files with undeclared entities </body> </html> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46620&edit=1
