#31917 [Fbk->Bgs]: get_elements_by_tag_name() wildcard fails [again]
| From: | chregu@php.net | Date: | Thu, 10 Feb 2005 19:27:11 +0000 |
| Subject: | #31917 [Fbk->Bgs]: get_elements_by_tag_name() wildcard fails [again] | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-73775@lists.php.net to get a copy of this message | ||
ID: 31917
Updated by: chregu@php.net
Reported By: mtaylor at esshc dot com
-Status: Feedback
+Status: Bogus
Bug Type: DOM XML related
Operating System: XP
PHP Version: 5.0.3
New Comment:
foreach($dom->getElementsByTagName("*") as $node) {
print ($node->localName);
}
Works for me...
And please keep in mind:
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, is max. 10-20 lines long and
does not require any external resources such as databases, etc.
If possible, make the script source available online and provide an URL
to it here. Try to avoid embedding huge scripts into the report.
Previous Comments:
------------------------------------------------------------------------
[2005-02-10 20:26:58] rrichards@php.net
You're trying to use domxml and not dom under PHP 5?
------------------------------------------------------------------------
[2005-02-10 20:04:04] mtaylor at esshc dot com
Description:
------------
Bug 26531 (http://bugs.php.net/bug.php?id=26531)
has resurfaced again in ver 5.
$whatever->get_elements_by_tagname("*");
returns null instead of the full list.
Also, I just downloaded the latest dll from snaps/pecl and confirmed
that the issue hasn't already been found and fixed on the bleeding
edge. Thanks.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31917&edit=1