-
Minor tweak to tcldom-libxml2.h to add in the public functions (Tcldom_libxml2_Init).
This fixed a minor warning in tclxml.c
../../../src/tclxml-3.2/tclxml.c: In function `Tclxml_Init':
../../../src/tclxml-3.2/tclxml.c:252: warning: implicit declaration of function `Tcldom_libxml2_Init'
This may not be the best place for the addition...
2009-08-28 09:51:56 UTC by dwcollins
-
We do builds with an external build area (to keep the source clean), so we run configure with something like:
../../../src/tclxml-3.2/configure --prefix=~/tclwork/install/host --with-tcl=~/install/host/lib
That means that the tclxml.h file is generated in a different directory to the other headers, so to find both sets we need to add -I${srcdir}/include to the include path. This patch...
2009-08-28 09:49:11 UTC by dwcollins
-
We are trying to use the latest version (3.2) of tclxml library in our application. Upon using the newer version of the library large memory leaks is being reported by purify. We are seeing memory leak of 16145 bytes per request sent.
I am attaching the purify log showing the details related to the memory leak. Please look into the same for details on the leak.
Please let me know...
2009-08-26 06:15:13 UTC by chiranje
-
The attached patch [against 3.2] causes the xslt transform command to error out if the transform does not return an OK state. In particular, this allows you to abort the script if the transform issues a terminate message.
As this changes the behaviour of the command I toyed with making it optional - enabled using configure - but didn't in the end; I am willing to rework the patch in this way...
2009-07-29 09:50:31 UTC by ollystephens
-
If you call xslt transform with an odd number of param value arguments, it dumps core because it is expecting an even number but doesn't verify that's what it has.
Attached is a tiny patch against 3.2 that stops the crash by throwing the wrong # args error in this situation.
2009-07-12 11:01:03 UTC by ollystephens
-
Attached is a patch against 3.2 which extends the functionality of the dom::node cloneNode sub-command.
New extended syntax is:
dom::node cloneNode token ?newDoc? ?-deep boolean? ?-attr boolean?
If newDoc is supplied, node will be cloned into this document - default is to clone into same document as original node. This is useful if you are creating a new document and want to include bits...
2009-07-12 10:57:55 UTC by ollystephens