php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46620 dom005.phpt fails
Submitted: 2008-11-19 18:00 UTC Modified: 2008-11-21 13:55 UTC
From: crrodriguez at opensuse dot org Assigned:
Status: Not a bug Package: DOM XML related
PHP Version: 5.2CVS-2008-11-19 (CVS) OS: linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: crrodriguez at opensuse dot org
New email:
PHP Version: OS:

 

 [2008-11-19 18:00 UTC] 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>


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-11-21 13:55 UTC] rrichards@php.net
libxml2 has entity bugs in 2.7.0 and 2.7.1. use either newer or older 
versions.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Dec 03 05:00:01 2025 UTC