Bug #16392 Updated: simple test app does not return result
| From: | jtate@php.net | Date: | Wed, 03 Apr 2002 15:32:35 +0000 |
| Subject: | Bug #16392 Updated: simple test app does not return result | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-3928@lists.php.net to get a copy of this message | ||
ID: 16392
Updated by: jtate@php.net
Reported By: cveld@bigfoot.com
-Status: Open
+Status: Closed
Bug Type: DOM XML related
Operating System: windows 2000
PHP Version: 4.1.2
New Comment:
Sorry, meant to set to closed.
Previous Comments:
------------------------------------------------------------------------
[2002-04-03 10:32:12] jtate@php.net
node_content() was broken from 4.0.6-4.1.2. It has subsequently been
fixed. Please try the 4.2.0 release candidate available from
http://www.php.net/~derick. Also, use get_content() now
(version 4.2.0
and later) instead of node_content.
------------------------------------------------------------------------
[2002-04-03 10:30:17] lukas@edeal.de
for current php-cvs, i'm not sure about v4.1.x and above, you have to
use this code, b/c the php_domxml api changed:
if($person->node_name() == "person")
{
echo "<b>Person Found:</b><br> ";
echo "Name: " . $person->get_content() . "<br>";
echo "Id: " . $person->get_attribute("id") . "<br>";
echo "DOB: " . $person->get_attribute("dob") .
"<br><br>";
}
------------------------------------------------------------------------
[2002-04-03 07:37:03] cveld@bigfoot.com
changed summary to reflect problem more accurate
------------------------------------------------------------------------
[2002-04-02 10:36:57] cveld@bigfoot.com
Om my site you can find http://cveld.nl.eu.org/test/xml/php/test5.php
and test5.php.txt. I copied the example from a popular source code
website. My site runs on iis5 dotnetbeta2 + php 4.1.2
The same file was installed on http://flux.myserver.org/php/carl.php
but as you probably can see on a different installation: omnihttpd +
php 4.0.4
My test php does not respond with any information on my server while
the same php file on the other server responds correctly.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16392&edit=1