#38615 [Opn->Fbk]: appendXML with xml:id crashes PHP
| From: | iliaa@php.net | Date: | Sun, 27 Aug 2006 22:21:33 +0000 |
| Subject: | #38615 [Opn->Fbk]: appendXML with xml:id crashes PHP | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-101395@lists.php.net to get a copy of this message | ||
ID: 38615
Updated by: iliaa@php.net
Reported By: dave at dgx dot cz
-Status: Open
+Status: Feedback
Bug Type: DOM XML related
PHP Version: 5.1.5
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
I've tried the most recent CVS snapshot and the above shown
PHP script does not crash or raise any errors.
Previous Comments:
------------------------------------------------------------------------
[2006-08-27 17:14:02] dave at dgx dot cz
I've got the same problem with php5.2-win32-latest. Tested with CLI and
Apache 2
------------------------------------------------------------------------
[2006-08-27 14:17:57] bjori@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
Can't reproduce...
------------------------------------------------------------------------
[2006-08-27 13:46:23] dave at dgx dot cz
Description:
------------
self-explaining code snippet:
$dom = new DOMDocument();
$dom->loadXML('<xml></xml>');
$frag = $dom->createDocumentFragment();
$frag->appendXML('<span xml:id="a"></span>');
// this crashes PHP (cli) 5.1.2 - 5.1.6
$dom->createTextNode("xxxxxxxxxxxxxxxx");
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38615&edit=1