Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15835 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87297 invoked by uid 1010); 6 Apr 2005 00:32:46 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 87245 invoked from network); 6 Apr 2005 00:32:43 -0000 Received: from unknown (HELO pb1.pair.com) (127.0.0.1) by localhost with SMTP; 6 Apr 2005 00:32:43 -0000 X-Host-Fingerprint: 216.117.147.250 unknown Linux 2.4/2.6 Received: from ([216.117.147.250:43722] helo=ctindustries.net) by pb1.pair.com (ecelerity HEAD r(5268)) with SMTP id 7D/1D-19272-72E23524 for ; Tue, 05 Apr 2005 20:32:39 -0400 Received: from [127.0.0.1] (dsta-aa203.pivot.net [66.186.171.203]) (authenticated bits=0) by ctindustries.net (8.12.8/8.12.8) with ESMTP id j35NPkaR015152; Tue, 5 Apr 2005 19:25:47 -0400 Message-ID: <42532F5B.7050903@ctindustries.net> Date: Tue, 05 Apr 2005 20:37:47 -0400 User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: James Crumpton CC: internals@lists.php.net References: <425319AB.90902@safesearching.com> In-Reply-To: <425319AB.90902@safesearching.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.83/808/Tue Apr 5 05:54:46 2005 on ctindustries.net X-Virus-Status: Clean Subject: Re: [PHP-DEV] Possible error with DOMNode::replaceChild() in 5.0.4 From: rrichards@ctindustries.net (Rob Richards) 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