Bug #15938 Updated: DOMXML: Implement nodeName
| From: | jtate@php.net | Date: | Thu, 07 Mar 2002 19:48:12 +0000 |
| Subject: | Bug #15938 Updated: DOMXML: Implement nodeName | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-1956@lists.php.net to get a copy of this message | ||
ID: 15938
Updated by: jtate@php.net
Reported By: jtate@php.net
Status: Open
Bug Type: Feature/Change Request
Operating System: All
PHP Version: 4.1.2
-Assigned To:
+Assigned To: jtate
New Comment:
Assigning it to me.
Previous Comments:
------------------------------------------------------------------------
[2002-03-07 14:45:05] jtate@php.net
The standard DOM implementation at the w3c web page:
http://www.w3.org/TR/1999/CR-DOM-Level-2-19991210/core.html#ID-1950641247
lists that each DOM node has a nodeName and nodeValue property along
with an attributes list. This needs to be reflected in the PHP DOMXML
implementation so as to make iterating through the DOM object easier,
and not require large switch statements to, as the w3c paper puts it,
"[cast] down to the specific derived interface" to retrieve data. It
is partially implemented with the name and tag_name attributes, but it
is incomplete and inconsistant. This will require quite a bit of
rewrite to implement, but it is worthwhile.
I'll work on this, but I'm filing this so that it doesn't get
forgotten.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15938&edit=1