Bug #15918: DomAttribute missing "type" property
| From: | bigredlinux at yahoo dot com | Date: | Thu, 07 Mar 2002 00:37:27 +0000 |
| Subject: | Bug #15918: DomAttribute missing "type" property | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-1842@lists.php.net to get a copy of this message | ||
From: bigredlinux@yahoo.com
Operating system: Linux
PHP version: 4.1.2
PHP Bug Type: DOM XML related
Bug description: DomAttribute missing "type" property
It appears that the type property is missing from the DomAttribute class,
which makes it quite difficult to determine the type of node, since it is
necessary to code a workaround for cases where this property is missing.
It would be nice if there was a function nodeType that would return this,
and possibly a function nodeName to return other rather case sensitive
results.
--
Edit bug report at http://bugs.php.net/?id=15918&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=15918&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=15918&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=15918&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=15918&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15918&r=support
Expected behavior: http://bugs.php.net/fix.php?id=15918&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=15918&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=15918&r=submittedtwice