static void php_free_xml_node(zend_rsrc_list_entry *rsrc TSRMLS_DC)
{
xmlNodePtr node = (xmlNodePtr) rsrc->ptr;
+<<<<<<< php_domxml.c
+
+ node_wrapper_dtor(node);
+ dom_object_set_data(node, NULL);
+=======
/* if node has no parent, it will not be freed by php_free_xml_doc, so do it here
and for all children as well. */
node_wrapper_dtor(node);
}
+>>>>>>> 1.181
}
MAKE_STD_ZVAL(errormessages);
if(array_init(errormessages) != SUCCESS) {
- // do error handling here
+ /* do error handling here */
}
add_assoc_string(errormessages,"errormessage",buf,1);
input = ctxt->input;
zval *errormessages;
MAKE_STD_ZVAL(errormessages);
if(array_init(errormessages) != SUCCESS) {
- // do error handling here
+ /* do error handling here */
}
if (ctxt->parser != NULL) {
if (ctxt->parser->name) {
if (ctxt->valid->node != NULL)
{
-// php_error(E_WARNING,"nodename %s",(char *) ctxt->valid->name);
-
-// node = *ctxt->node;
+ /*php_error(E_WARNING,"nodename %s",(char *) ctxt->valid->name);
+
+ node = *ctxt->node;*/
}
add_assoc_string(errormessages,"errormessage",buf,1);
add_next_index_zval(ctxt->errors,errormessages);