]> granicus.if.org Git - php/commitdiff
Fix class name
authorRob Richards <rrichards@php.net>
Wed, 7 Apr 2004 16:48:11 +0000 (16:48 +0000)
committerRob Richards <rrichards@php.net>
Wed, 7 Apr 2004 16:48:11 +0000 (16:48 +0000)
ext/xsl/php_xsl.c
ext/xsl/tests/xslt011.phpt

index e179c05de3baa3b7a049202af5514e60d4e28366..7d51e0ec1414c603db6657f5d6578641c07bded0 100644 (file)
@@ -135,7 +135,7 @@ PHP_MINIT_FUNCTION(xsl)
        
        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
index 39864ffb3178185cc63a4aa6b3d61deb17fceebb..64504ef8e47870b0916dc231599ade4fd835669a 100644 (file)
@@ -42,7 +42,7 @@ $dom = new domDocument();
 --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 -