From:             [EMAIL PROTECTED]
Operating system: All
PHP version:      4.1.2
PHP Bug Type:     Feature/Change Request
Bug description:  DOMXML: Implement nodeName

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 bug report at http://bugs.php.net/?id=15938&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=15938&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=15938&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=15938&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=15938&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15938&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=15938&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=15938&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=15938&r=submittedtwice

Reply via email to