Re: Possible error with DOMNode::replaceChild() in 5.0.4

From: Date: Wed, 06 Apr 2005 00:37:47 +0000
Subject: Re: Possible error with DOMNode::replaceChild() in 5.0.4
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-15835@lists.php.net to get a copy of this message
Please bug this. James Crumpton wrote:
Now, that may in fact be the proper way to handle things... however, it was very handy to be able to replace a single node with multiple top level nodes (what DocumentFragments are good for in the first place), and then being able to further process all those top level nodes by referencing the DocumentFragment, rather than writing a bunch of code to try and figure out which nodes were newly added.
Behavior was wrong, inconsistant with append behavior and breaks xsl, xpath and a few other things. Rob

« previous php.internals (#15835) next »