rrichards Wed Apr 7 12:48:11 2004 EDT
Modified files:
/php-src/ext/xsl php_xsl.c
/php-src/ext/xsl/tests xslt011.phpt
Log:
Fix class name
http://cvs.php.net/diff.php/php-src/ext/xsl/php_xsl.c?r1=1.20&r2=1.21&ty=u
Index: php-src/ext/xsl/php_xsl.c
diff -u php-src/ext/xsl/php_xsl.c:1.20 php-src/ext/xsl/php_xsl.c:1.21
--- php-src/ext/xsl/php_xsl.c:1.20 Wed Feb 4 16:04:39 2004
+++ php-src/ext/xsl/php_xsl.c Wed Apr 7 12:48:11 2004
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_xsl.c,v 1.20 2004/02/04 21:04:39 helly Exp $ */
+/* $Id: php_xsl.c,v 1.21 2004/04/07 16:48:11 rrichards Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -135,7 +135,7 @@
memcpy(&xsl_object_handlers, zend_get_std_object_handlers(),
sizeof(zend_object_handlers));
- REGISTER_XSL_CLASS(ce, "xsltprocessor", NULL,
php_xsl_xsltprocessor_class_functions, xsl_xsltprocessor_class_entry);
+ REGISTER_XSL_CLASS(ce, "XSLTProcessor", NULL,
php_xsl_xsltprocessor_class_functions, xsl_xsltprocessor_class_entry);
#if HAVE_XSL_EXSLT
exsltRegisterAll();
#endif
http://cvs.php.net/diff.php/php-src/ext/xsl/tests/xslt011.phpt?r1=1.7&r2=1.8&ty=u
Index: php-src/ext/xsl/tests/xslt011.phpt
diff -u php-src/ext/xsl/tests/xslt011.phpt:1.7 php-src/ext/xsl/tests/xslt011.phpt:1.8
--- php-src/ext/xsl/tests/xslt011.phpt:1.7 Mon Jan 19 12:35:38 2004
+++ php-src/ext/xsl/tests/xslt011.phpt Wed Apr 7 12:48:11 2004
@@ -42,7 +42,7 @@
--EXPECTF--
Test 11: php:function Support
-Warning: xsltprocessor::transformToXml(): A PHP Object can not be converted to a
XPath-string in %s on line 16
+Warning: XSLTProcessor::transformToXml(): A PHP Object can not be converted to a
XPath-string in %s on line 16
<?xml version="1.0"?>
foobar - secondArg
foobar -
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php