#38615 [Fbk->Opn]: appendXML with xml:id crashes PHP

From: Date: Sun, 27 Aug 2006 17:14:02 +0000
Subject: #38615 [Fbk->Opn]: appendXML with xml:id crashes PHP
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-101387@lists.php.net to get a copy of this message
ID: 38615 User updated by: dave at dgx dot cz Reported By: dave at dgx dot cz -Status: Feedback +Status: Open Bug Type: DOM XML related PHP Version: 5.1.5 New Comment: I've got the same problem with php5.2-win32-latest. Tested with CLI and Apache 2 Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#101387) next »