Bug #10899: xmldocfile produces fatal error
| From: | chregu at nomad dot ch | Date: | Wed, 16 May 2001 10:26:42 +0000 |
| Subject: | Bug #10899: xmldocfile produces fatal error | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-55459@lists.php.net to get a copy of this message | ||
From: chregu@nomad.ch
Operating system: linux 2.4.4
PHP version: 4.0 Latest CVS (2001-05-16)
PHP Bug Type: DOM XML related
Bug description: xmldocfile produces fatal error
$doc = xmldocfile("config.xml");
produces
Fatal error: Underlying object missing in /usr/local/apache/htdocs/test/xml.php on line 13
in PHP-4.0.6RC1
config.xml is
<?xml version="1.0"?>
<test>
<one type="bla">bla</one>
<two type="foo"/>
</test>
if i make a sting out of it and then
$doc = xmldoc($xml);
it works
--
Edit Bug report at: http://bugs.php.net/?id=10899&edit=1