ID: 17032
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Bogus
Bug Type: DOM XML related
Operating System: Win2000
PHP Version: 4.2.0
New Comment:
Please do not submit the same bug more than once.
Previous Comments:
------------------------------------------------------------------------
[2002-05-06 03:53:07] [EMAIL PROTECTED]
For the following sample:
<foo>
<oops>
some data
</oops>
</foo>
the following problem occured:
$expr1 = "//foo";
$expr2 = "//*[name()='foo']";
$path1 = xpath_eval($context, $expr1); # no result ??? WRONG
$path2 = xpath_eval($context, $expr2); # one result !!! OK
The two expressions "//foo" and "//*[name()='foo']" should lead to the
same result, but they do not.
I have turned Off all magic_quotes in php.ini .
It's to mention, that I use the PHP 4.2.0 Extensions for DOM XML
support in my PHP 4.1.0 Version.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17032&edit=1