ID:               26704
 Updated by:       [EMAIL PROTECTED]
 Reported By:      matjaz dot ostroversnik at ztm dot si
-Status:           Open
+Status:           Feedback
 Bug Type:         XML related
 Operating System: linux 2.4
 PHP Version:      5CVS
 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try avoid embedding huge scripts into the report.




Previous Comments:
------------------------------------------------------------------------

[2004-01-05 02:28:43] matjaz dot ostroversnik at ztm dot si

./configure \
 --with-apxs2=/usr/sbin/apxs \
 --with-pear \
 --enable-dbase \
 --with-openssl=/usr/local/ssl \
 --enable-track-vars \
 --enable-inline-optimization \
 --with-layout=RedHat \
 --with-gd \
 --with-png \
 --with-ttf \
 --enable-gd-native-ttf \
 --with-mm \
 --enable-sockets \
 --with-zlib \
 --with-iconv \
 --with-pgsql \
 --without-mysql \
 --enable-bcmath \
 --enable-ftp  \
 --enable-mailparse  \
 --with-imap \
 --with-kerberos  \
 --with-imap-ssl=/usr/local/ssl \
 --with-xmlrpc \
 --with-readline \
 --enable-overload \
 --enable-calendar \
 --with-curl \
 --enable-socket \
 --with-dom

------------------------------------------------------------------------

[2004-01-01 21:06:42] [EMAIL PROTECTED]

What was the configure line used to configure php?


------------------------------------------------------------------------

[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] [EMAIL PROTECTED]

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

Reply via email to