#26981 [Fbk->NoF]: xml_parse looses object reference
| From: | sniper@php.net | Date: | Mon, 26 Jan 2004 04:14:13 +0000 |
| Subject: | #26981 [Fbk->NoF]: xml_parse looses object reference | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-53884@lists.php.net to get a copy of this message | ||
ID: 26981
Updated by: sniper@php.net
Reported By: schst@php.net
-Status: Feedback
+Status: No Feedback
Bug Type: XML related
Operating System: Windows
PHP Version: 5.0.0b3 (beta3)
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2004-01-20 22:17:28] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
Also provide a SHORT example script.
(No, PEAR scripts are NOT good test scripts!!)
------------------------------------------------------------------------
[2004-01-20 14:33:52] schst@php.net
Description:
------------
If using xml_set_object() to register handlers in an object, xml_parse
sometimes looses the reference to the object and displays a warning:
Warning: xml_parse() [function.xml-parse]: Unable to call handler
startHandler() in C:\php4\PEAR\XML\Parser.php on line 264
Try PEAR::XML_RDDL to see the bug in action.
If registering xml_set_element_handler( $p, array( $obj, 'method' ),
array( $obj, 'method' ) ) it seems to work fine.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26981&edit=1