Re: ext/xml handlers currently broken?
| From: | Chris Vandomelen | Date: | Tue, 08 Apr 2003 15:57:06 +0000 |
| Subject: | Re: ext/xml handlers currently broken? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-792@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.
>
<snip>
Never mind the first patch, try this one instead. (Forgot a '&' in the
code, whee.)
Chris