ID: 20209 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Analyzed Bug Type: DOM XML related Operating System: linux PHP Version: 4CVS-2002-11-01 -Assigned To: +Assigned To: chregu
Previous Comments: ------------------------------------------------------------------------ [2002-11-01 03:31:36] [EMAIL PROTECTED] if a text_node is appended to a node, then it can lead to segfaults if the last child of the node is also a text-node. this is because libxml2 frees then the node. (from their docu: "Add a new node to parent, at the end of the child (or property) list merging adjacent TEXT nodes (in which case cur is freed) If the new node was already inserted in a document it is first unlinked from its existing context. If the new node is ATTRIBUTE, it is added into properties instead of children. If there is an attribute with equal name, it is first destroyed.") and we don't... I'll try to find a solution chregu ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20209&edit=1