Re: XML parser quirk
| From: | Jon Parise | Date: | Wed, 11 Oct 2000 14:34:51 +0000 |
| Subject: | Re: XML parser quirk | ||
| References: | 1 | Groups: | php.pear |
| Request: | Send a blank email to php-pear+get-349@lists.php.net to get a copy of this message | ||
On Wed, Oct 11, 2000 at 03:47:09PM +0400, Mikhail Zabaluev wrote:
> Playing with XML_Parser, I was discouraged by the fact that
> xml_set_object() actually copies an object even if it's been passed by
> reference. This is a PITA when you want tag handlers to store parsed data
> into object's properties and use these properties afterwards. You have to
> assign references to these propeties in order to access values out of
> handler context. Here's an example script:
Perhaps this helps explain the problem I was encountering when I filed
this:
http://bugs.php.net/bugs.php?id=6175
It has yet to be resolved.
--
Jon Parise (jon@csh.rit.edu) . Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/ : Computer Science House
Member