#26704 [Opn->Fbk]: xml_parse problems

From: Date: Fri, 02 Jan 2004 02:06:44 +0000
Subject: #26704 [Opn->Fbk]: xml_parse problems
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-52685@lists.php.net to get a copy of this message
ID: 26704 Updated by: sniper@php.net Reported By: matjaz dot ostroversnik at ztm dot si -Status: Open +Status: Feedback Bug Type: XML related Operating System: linux 2.4 -PHP Version: 5.0.0b2 (beta2) +PHP Version: 5CVS New Comment: What was the configure line used to configure php? Previous Comments: ------------------------------------------------------------------------ [2003-12-24 02:19:21] matjaz dot ostroversnik at ztm dot si Config.php is PEAR's Config. ------------------------------------------------------------------------ [2003-12-23 11:29:52] iliaa@php.net What is config.php? ------------------------------------------------------------------------ [2003-12-23 04:20:09] matjaz dot ostroversnik at ztm dot si 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 this bug report at http://bugs.php.net/?id=26704&edit=1

« previous php.bugs (#52685) next »