#50390 [Opn->Bgs]: DomXPath fails to find data
| From: | rrichards@php.net | Date: | Sat, 05 Dec 2009 12:10:59 +0000 |
| Subject: | #50390 [Opn->Bgs]: DomXPath fails to find data | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-145436@lists.php.net to get a copy of this message | ||
ID: 50390
Updated by: rrichards@php.net
Reported By: liviu dot macoviciuc at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: DOM XML related
Operating System: windows xp
PHP Version: 5.2.11
New Comment:
Works fine if you fix your script. You arent even providing valid data
to load into a DOM.
Previous Comments:
------------------------------------------------------------------------
[2009-12-05 10:59:29] liviu dot macoviciuc at gmail dot com
http://www.storage.to/get/lgBv4d7m/Desktop.rar
All the code
------------------------------------------------------------------------
[2009-12-05 10:49:39] rrichards@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 the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
------------------------------------------------------------------------
[2009-12-05 10:42:55] liviu dot macoviciuc at gmail dot com
Description:
------------
I have an html file and I try to locate an element with Xpath.
Results : 0
I rewrote it in C with libxml2
Results :1
CORRECT
So the problem is in php
I can provide the source code for all files
It is not my first bad experience with xpath in php
Another time, it used to return the right results, but 10 times
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50390&edit=1