ID: 14934 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: DOM XML related Operating System: Linux 2.4.9-RH 7.2 PHP Version: 4.1.1 New Comment:
Is anyone going to do anything about this? If not could I get CVS commit access so that I can make the change myself? Previous Comments: ------------------------------------------------------------------------ [2002-01-08 15:17:18] [EMAIL PROTECTED] The domxml_node->type property is not set for nodes of type XML_COMMENT_NODE. The following patch fixes the problem. --- ext/domxml/php_domxml.c.orig Tue Jan 8 15:09:30 2002 +++ ext/domxml/php_domxml.c Tue Jan 8 15:10:12 2002 @@ -819,6 +819,7 @@ rsrc_type = le_domxmlcommentp; content = xmlNodeGetContent(nodep); if (content) + add_property_long(wrapper, "type", Z_TYPE_P(nodep )); add_property_stringl(wrapper, "content", (char *) content, strlen(content), 1); break; } Please e-mail if you wish more information. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14934&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]