ID: 16871 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: DOM XML related Operating System: Linux PHP Version: 4.0CVS-2002-04-27 New Comment:
The class instance should be a DomDocument, not a DomNode. i don't know really at the moment why your code works as well ... I would advise to use the DomDocument not the DomNode as the code can change in the future. Previous Comments: ------------------------------------------------------------------------ [2002-04-27 06:39:33] [EMAIL PROTECTED] As of 2002-04-27 this function is requiring the first parameter to be the node when used as DomNode->dump_node(DomNode) this is an error in the convention that if a Dom object is used as the class instance, the first parameter should be passed as the first parameter to the function. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16871&edit=1