#26704 [Fbk->Opn]: xml_parse problems
| From: | matjaz dot ostroversnik at ztm dot si | Date: | Wed, 14 Jan 2004 08:24:45 +0000 |
| Subject: | #26704 [Fbk->Opn]: xml_parse problems | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-53286@lists.php.net to get a copy of this message | ||
ID: 26704
User updated by: matjaz dot ostroversnik at ztm dot si
Reported By: matjaz dot ostroversnik at ztm dot si
-Status: Feedback
+Status: Open
Bug Type: XML related
Operating System: linux 2.4
PHP Version: 5CVS
New Comment:
<?
require_once 'Config.php';
$conf = new Config();
$tree = $conf->parseConfig('h.xml', 'xml');
?>
but you need xml file h.xml
<?xml version="1.0" ?>
<network>
</network>
Previous Comments:
------------------------------------------------------------------------
[2004-01-13 14:50:53] sniper@php.net
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.
------------------------------------------------------------------------
[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] sniper@php.net
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] iliaa@php.net
What is config.php?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/26704
--
Edit this bug report at http://bugs.php.net/?id=26704&edit=1