Re: patch: domxml - set_attirubte_node implmentation
| From: | Christian Stocker | Date: | Thu, 03 Apr 2003 10:21:36 +0000 |
| Subject: | Re: patch: domxml - set_attirubte_node implmentation | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-631@lists.php.net to get a copy of this message | ||
On Thu, 2003-04-03 at 11:31, Rob Richards wrote:
> Here is a patch for domxml which implements the set_attribute_node method.
>
> Located at: http://www.digarc.com/php_domxml.diff
>
> One thing to note is in the section where an attribute already exists. As
> there can't be dunplicate attributes, only the content from the new
> attribute node is moved to the existing attribute node. Unlinking the
> origional attribute node could potential cause a memory leak as it may never
> be freed.
Commited and thanks
chregu