ID: 14934
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: DOM XML related
Operating System: Linux 2.4.9-RH 7.2
PHP Version: 4.1.1
New Comment:
Fixed in CVS, thx
Previous Comments:
------------------------------------------------------------------------
[2002-01-24 14:36:01] [EMAIL PROTECTED]
Is anyone going to do anything about this? If not could I get CVS
commit access so that I can make the change myself?
------------------------------------------------------------------------
[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]