PHP 4.0 Bug #6478: xml_set_element_handler not finding Functions
| From: | dwmcqueen at yahoo dot com | Date: | Thu, 31 Aug 2000 21:53:47 +0000 |
| Subject: | PHP 4.0 Bug #6478: xml_set_element_handler not finding Functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-31511@lists.php.net to get a copy of this message | ||
From: dwmcqueen@yahoo.com
Operating system: Linux 2.2.15 (Mandrake 6.1)
PHP version: 4.0.2
PHP Bug Type: Other
Bug description: xml_set_element_handler not finding Functions
I have a class that has this statement in it as part of its XML functions:
xml_set_element_handler( $this->xp, "FstartElement", "FendElement" );
This worked under 4.0.1pl2, but when I upgraded to 4.0.2 I got errors when the script ran that the
handlers could not be found. When I changed it to:
xml_set_element_handler( $this->xp, array($this,"FstartElement"),
array($this,"FendElement") );
The handlers were found, but processing did not seem correct.
I did verify that xml was enabled.