--- php-4.1.1/ext/domxml/php_domxml.c	Fri Dec 14 05:45:46 2001
+++ ../php-4.1.1-changed/ext/domxml/php_domxml.c	Tue Jan  8 14:42:58 2002
@@ -796,6 +796,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;
 		}
