Re: ext/xml handlers currently broken?
| From: | Chris Vandomelen | Date: | Tue, 08 Apr 2003 15:51:22 +0000 |
| Subject: | Re: ext/xml handlers currently broken? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-791@lists.php.net to get a copy of this message | ||
> Hi!
>
> It looks like the xml_set_*_handler() functions are currently broken.
> Code that works perfectly with the PHP_4_3 branch fails with HEAD and
> produces messages like:
>
> Warning: xml_parse(): Unable to call handler startElement() in ...
>
<snip>
Will the attached patch fix the problem? It seems to be the appropriate
fix, since all that appears to be wrong is the usage of the global
function table instead of the object's function table.
(I'd test it, but I've made my share of changes to ZE2 that are doubtful
at best to be committed anyway...)
Chris