php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6478 xml_set_element_handler not finding Functions
Submitted: 2000-08-31 17:53 UTC Modified: 2000-08-31 17:56 UTC
From: dwmcqueen at yahoo dot com Assigned:
Status: Closed Package: Other
PHP Version: 4.0.2 OS: Linux 2.2.15 (Mandrake 6.1)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dwmcqueen at yahoo dot com
New email:
PHP Version: OS:

 

 [2000-08-31 17:53 UTC] dwmcqueen at yahoo dot com
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-31 17:56 UTC] andrei@php.net
This should have been fixed today.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 17:01:30 2024 UTC