Edit report at http://bugs.php.net/bug.php?id=48352&edit=1

 ID:                 48352
 Comment by:         mat at homedvd dot ca
 Reported by:        php at xxlwebdesign dot de
 Summary:            Method registerNodeClass does not work with
                     DOMNodeList
 Status:             Open
 Type:               Feature/Change Request
 Package:            Feature/Change Request
 Operating System:   Gentoo
 PHP Version:        5.3CVS-2009-05-21 (snap)
 Assigned To:        rrichards
 Block user comment: N
 Private report:     N

 New Comment:

Any movement on this? The method should probably be called
registerNodeListClass


Previous Comments:
------------------------------------------------------------------------
[2010-02-15 02:45:10] mail at r-site dot net

very helpfull, extending DOMNode's almost implies it, pls hurry, ty

------------------------------------------------------------------------
[2009-09-20 21:17:12] goetas at lignano dot it

this would be really helpful!

------------------------------------------------------------------------
[2009-05-22 12:53:55] php at xxlwebdesign dot de

This would be very nice!

------------------------------------------------------------------------
[2009-05-22 10:49:41] rricha...@php.net

This method was designed specifically for DOMNode based classes only. 

changing to feature request and I will consider and evaluate expanding 

its functionality.

------------------------------------------------------------------------
[2009-05-21 09:38:59] php at xxlwebdesign dot de

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 this bug report at http://bugs.php.net/bug.php?id=48352&edit=1

Reply via email to