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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 20:01:30 2024 UTC