[PHP-DEV] PHP 4.0 Bug #6478: xml_set_element_handler not finding Functions From: dwmcqueen <email protected>
Date: 08/31/00

From: dwmcqueen <email protected>
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.

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>