From: matjaz dot ostroversnik at ztm dot si Operating system: linux 2.4 PHP version: 5.0.0b2 (beta2) PHP Bug Type: XML related Bug description: xml_parse problems
Description: ------------ it seems that xml support is broken somehow in 5.0. This is a problem of 5.0 b2 and b3, but it works ok with 4.3 Reproduce code: --------------- php code: <? require_once 'Config.php'; $conf = new Config(); $tree = $conf->parseConfig('h.xml', 'xml'); ?> h.html <?xml version="1.0" ?> <network> </network> Expected result: ---------------- nothing Actual result: -------------- Warning: xml_parse(): Unable to call handler startHandler() in /usr/local/lib/php/XML/Parser.php on line 265 Warning: xml_parse(): Unable to call handler cdataHandler() in /usr/local/lib/php/XML/Parser.php on line 265 Warning: xml_parse(): Unable to call handler endHandler() in /usr/local/lib/php/XML/Parser.php on line 265 -- Edit bug report at http://bugs.php.net/?id=26704&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26704&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26704&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26704&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26704&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26704&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=26704&r=needscript Try newer version: http://bugs.php.net/fix.php?id=26704&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26704&r=support Expected behavior: http://bugs.php.net/fix.php?id=26704&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26704&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26704&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26704&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26704&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26704&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26704&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26704&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26704&r=float