[PHP-DEV] [PATCH] domxml ext: build XML fragment from array

2003-01-26 Thread Petr Tuma
Hi all, this patch adds a function that builds an XML fragment from a array. Implementation of var_dump has been taken as a skeleton. The main reason for this patch was that using DOM interface to create a long XML (approx 2.5MB) was slow. Regards Petr Tuma ? ext/domxml/tests/domxml003.phpt In

[PHP-DEV] [PATCH] domxml

2002-05-09 Thread brad lafountain
Hello, This patch does two things. Allows for php new/constructors to all of the dom nodes.. ex - new $var = new DomDocument("some.file", true); - old $var = xmldoc("some.file", true); // small example how you would use it $var = new DomDocument("some.file", true); $var = new DomElement("na

[PHP-DEV] [patch] domxml ./. fix for some memory leaks + cleanups

2002-04-04 Thread Lukas Schroeder
hi! this patch is against current cvs. it contains some trivial cleanups and fixes for several memory leaks, where memory that gets malloc()ed in libxml2 is not free()d. please apply... additionally, this patch changes get_attribute() to return FALSE instead of an empty string if the attribute

[PHP-DEV] [patch] domxml ./. resubmitting fix for bug #14522

2002-03-07 Thread Lukas Schroeder
Bug #14522 Crash with using $node->unlink(); Bug #14522 was prematurely marked as closed; i submitted this patch, but the bug was marked as closed, before the patch really got a applied to CVS to fix it... regards, -lukas Index: php_domxml.c =

RE: [PHP-DEV] [patch] domxml ./. trivial cleanup

2002-03-07 Thread Joseph Tate
Lukas Schroeder [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 07, 2002 3:39 PM > To: [EMAIL PROTECTED] > Subject: [PHP-DEV] [patch] domxml ./. trivial cleanup > > > hi! > > the patch below is against cvs as of several minutes ago... > > doing >if (! found) >

[PHP-DEV] [patch] domxml ./. trivial cleanup

2002-03-07 Thread Lukas Schroeder
hi! the patch below is against cvs as of several minutes ago... doing if (! found) *found = ...; i did not change it into "if (found)" either, b/c found is a non-optional parameter of internally used functions; it will not be NULL ever. regards, -lukas PS: is there currently a m