#46620 [Opn->Bgs]: dom005.phpt fails

From: Date: Fri, 21 Nov 2008 13:55:22 +0000
Subject: #46620 [Opn->Bgs]: dom005.phpt fails
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-131165@lists.php.net to get a copy of this message
ID: 46620 Updated by: rrichards@php.net 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&nbsp; </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&nbsp; </body> </html> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46620&edit=1

« previous php.bugs (#131165) next »