Doc #53486 [Asn->Csd]: DOMXPath::query can return false
| From: | aharvey@php.net | Date: | Tue, 07 Dec 2010 09:04:03 +0000 |
| Subject: | Doc #53486 [Asn->Csd]: DOMXPath::query can return false | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-5638@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=53486&edit=1
ID: 53486
Updated by: aharvey@php.net
Reported by: david dot bruant at monextel dot com
Summary: DOMXPath::query can return false
-Status: Assigned
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
Operating System: -
PHP Version: 5.2.14
Assigned To: aharvey
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Previous Comments:
------------------------------------------------------------------------
[2010-12-07 10:03:58] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&revision=306049
Log: Fix doc bug #53486 (DOMXPath::query can return false).
------------------------------------------------------------------------
[2010-12-06 17:29:44] david dot bruant at monextel dot com
To reproduce :
- Init a DOMXPath query and load an HTML
- give it the query '/html/body/a@href'
This query isn't a valid XPath query ('/html/body/a/@href' or
'/html/body/a[@href]' would be)
------------------------------------------------------------------------
[2010-12-06 16:31:05] david dot bruant at monextel dot com
Description:
------------
---
From manual page: http://www.php.net/domxpath.query#Return Values
---
As opposed to what is written, this function can return false (probably
on error, there is a need for further investigation)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=53486&edit=1