From: [EMAIL PROTECTED]
Operating system: Win2000
PHP version: 4.2.0
PHP Bug Type: DOM XML related
Bug description: Results of "xpath_eval(...)" are not right in all cases
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 bug report at http://bugs.php.net/?id=17031&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17031&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17031&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17031&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17031&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17031&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17031&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17031&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17031&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17031&r=globals