Commit Graph

44 Commits

Author SHA1 Message Date
Christian Stocker
e53c538151 return true, if xsl import did work 2006-07-31 12:50:42 +00:00
Christian Stocker
d7fd19b7ff MFH
Fix a segfault, when an unknown type was given and support all known xpath object types
2006-06-14 09:42:35 +00:00
Rob Richards
8d1427dd98 MFH: add doXInclude property to allow processor to perform XIncludes 2006-05-12 18:53:40 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
Rob Richards
44840ace8e MFH: Fix key length so params passed by array can be retrieved by getParameter() 2005-09-02 06:38:02 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Rob Richards
f14292df21 Fixed bug #33340 (CLI Crash when calling php:function from XSLT) 2005-06-14 19:39:52 +00:00
Christian Stocker
997690b132 - Added optional first parameter to XsltProcessor::registerPHPFunctions to only
allow certain functions to be called from XSLT.
2005-04-06 12:26:29 +00:00
Rob Richards
c90305cb2e Fixed bug #31033 (php:function(string, nodeset) with xsl:key crashes PHP)
- only in 5.1 branch for now due to significance of change
2005-03-02 18:27:25 +00:00
Christian Stocker
8d10b52ddf fix protos (by Mehdi Achour ) 2005-01-17 15:56:17 +00:00
Rob Richards
da5ff5d9f1 fix issue with multiple xsl objects using registerPHPfunctions
- also fixes threading issue
2004-09-08 16:54:17 +00:00
Christian Stocker
32613f510c Fix segfault on error in xslt 2004-08-10 08:00:06 +00:00
Christian Stocker
264fd866a1 - Fix bug #29573: Segmentation fault when php function(called from XSLT templat) throw exception
- Fix some 0 Byte Memory Leaks
2004-08-08 18:01:33 +00:00
Antony Dovgal
e63a7d893b change xsl_xsltprocessor_set_parameter() to support parameter->value arrays
add test for it
@Change xsl_xsltprocessor_set_parameter() to support parameter->value arrays (Tony)
2004-08-05 13:31:17 +00:00
Christian Stocker
5f888422d9 Fix for bug #29409 (Segfault in PHP functions called from XSLT). (by Rob) 2004-07-28 12:40:53 +00:00
Ilia Alshanetsky
6544f8d47e Fixed memory leak on error. 2004-05-28 14:17:46 +00:00
Christian Stocker
c59471cd1f fix memleak in php callbacks 2004-05-28 13:04:19 +00:00
Christian Stocker
65bc57a81f - make static methods calls work from within xslt
- extended tests
2004-04-20 09:24:24 +00:00
Marcus Boerger
d7cea0945c Fix XSL (Rob/Marcus) 2004-03-28 15:35:01 +00:00
Rob Richards
5e4b287463 use php_libxml_import_node for transform functions 2004-03-01 12:43:34 +00:00
Rob Richards
76ee5707f7 Fix bug #27436 dom_import_simplexml innaccurate
extensions register callbacks to export nodes
prevents segfault passing invalid objects to import functions
2004-03-01 12:09:24 +00:00
Rob Richards
109ea54871 fix corruption when cloneDocument is not defined 2004-01-29 00:33:20 +00:00
Christian Stocker
d4488ccf2d Cosmetics and NEWS entry 2004-01-19 17:27:22 +00:00
Christian Stocker
23b30e9a30 @- added XsltProcessor->registerPhpFunctions() (Christian)
without that method call, it is not allowed to call php functions from
xslt stylesheets for security reasons.
2004-01-19 15:07:08 +00:00
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
Rob Richards
ab29ed006c rollback to previouos version
bug #26690 fixed in libxml.c
2003-12-22 16:49:54 +00:00
Ilia Alshanetsky
a8c58f1d79 Fixed bug #26690 (make xsltProcessor->transformToUri use streams wrappers). 2003-12-22 16:32:29 +00:00
Christian Stocker
5c039bbad9 Fixed for Bug #26384 (domxslt->process causes segfault with xsl:key) 2003-11-29 16:37:37 +00:00
Christian Stocker
44ae81871b - Added $proc->hasExsltSupport() 2003-11-21 12:21:35 +00:00
Christian Stocker
45614453cd fix for test Nr 3 bug (not freeing all params) 2003-10-27 12:16:35 +00:00
Rob Richards
09c09f4279 use common structures from php_libxml.h 2003-10-26 15:57:31 +00:00
Rob Richards
bd2511af40 set base href for copied, imported doc
set environment for imported stylesheet
add optional clone parameter for data to transform
2003-09-22 19:07:52 +00:00
Rob Richards
ea1b33438a remove document pointer references as doc is now copied 2003-08-24 10:18:08 +00:00
Rob Richards
20a878dc60 doc must be copied when importing stylesheet
libxslt uses the _private for processing
2003-08-20 17:58:55 +00:00
Ilia Alshanetsky
93bcd55eaf emalloc -> safe_emalloc 2003-08-12 00:58:52 +00:00
Rob Richards
036b93c4e2 fix segfault when importing multiple documents 2003-08-07 18:38:39 +00:00
Rob Richards
3b2507b910 changed to studlyCaps naming convention 2003-07-07 19:45:24 +00:00
Rob Richards
1688895f6b use common doc with ref counting rather than copy 2003-07-05 23:43:10 +00:00
Rob Richards
e52b96a296 add xsl_xsltprocessor_transform_to_uri functionality
fix a few unhandled error conditions
fix compiler warnings
2003-06-19 15:00:28 +00:00
Rob Richards
14fad0e5d8 interoperability support 2003-06-14 15:28:13 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Rob Richards
f2957721af changes for /ext/dom document ref count
changes for /ext/dom internal object handling
2003-06-09 20:24:16 +00:00
Moriyoshi Koizumi
3ebf297261 Avoid unnecesary zval separation 2003-06-05 18:54:19 +00:00
Rob Richards
848795e3f9 Inital cut of new xsl extension
interoperates with new dom extension
PHP5 only
2003-06-05 17:10:13 +00:00