#48352 [NEW]: Method registerNodeClass does not work with DOMNodeList
From: php at xxlwebdesign dot de
Operating system: Gentoo
PHP version: 5.3CVS-2009-05-21 (snap)
PHP Bug Type: DOM XML related
Bug description: Method registerNodeClass does not work with DOMNodeList
Description:
------------
The method DOMDocument->registerNodeClass does not work with DOMNodeList
Reproduce code:
---------------
<?php
class MyNodeList extends DOMNodeList
{
}
$dom = new DOMDocument();
$dom->registerNodeClass('DOMNodeList', 'MyNodeList');
?>
Actual result:
--------------
Fatal error: DOMDocument::registerNodeClass() [<a
href='domdocument.registernodeclass'>domdocument.registernodeclass</a>]:
Class DOMNodeList is not derived from DOMNode. in ...
--
Edit bug report at http://bugs.php.net/?id=48352&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48352&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48352&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48352&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=48352&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48352&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=48352&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=48352&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=48352&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=48352&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=48352&r=support
Expected behavior: http://bugs.php.net/fix.php?id=48352&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=48352&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=48352&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=48352&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48352&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=48352&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=48352&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=48352&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=48352&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=48352&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=48352&r=mysqlcfg
Thread (9 messages)
- php at xxlwebdesign dot de