CRM_DEV_ASSERT(FALSE); 
dump_xml_formatted(crm_data_t *an_xml_node){	char *buffer     = NULL;#if 0	int       len        = 0;	xmlChar  *xml_buffer = NULL;	xmlDocPtr foo        = NULL;	crm_data_t* xml_node  = NULL;	xml_node  = copy_xml_node_recursive(an_xml_node);		if (xml_node == NULL) {		return NULL;			} else {		/* reset the doc pointer */		crm_insane("Creating doc pointer for %s", xml_node->name);		foo = xmlNewDoc("1.0");		xmlDocSetRootElement(foo, xml_node);		xmlSetTreeDoc(xml_node, foo);		crm_insane("Doc pointer set for %s", xml_node->name);	}	crm_insane("Initializing Parser");	xmlInitParser();	crm_insane("Dumping data");	xmlDocDumpFormatMemory(xml_node->doc, &xml_buffer, &len, 1);	crm_insane("Cleaning up parser");	xmlCleanupParser();	crm_insane("Copying memory into crm_ space");	if(xml_buffer != NULL && len > 0) {		/* copy the text into crm_ memory */ 		buffer = crm_strdup(xml_buffer);		xmlFree(xml_buffer);	}	crm_insane("Buffer coppied");		free_xml(xml_node);#else	char *mutable_ptr = NULL;/* 	crm_malloc(buffer, 2*(an_xml_node->stringlen)); */	crm_malloc(buffer, sizeof(char)*30000);	mutable_ptr = buffer;		crm_validate_data(an_xml_node);	if(dump_data_element(0, &mutable_ptr, an_xml_node, TRUE) < 0) {		crm_crit("Could not dump the whole message");		CRM_DEV_ASSERT(FALSE);	}	crm_trace("Dumped: %s", buffer);#endif	return buffer;}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/a477b226345dce9666f9dd419622aeeee5d22386/xml.c/buggy/crm/common/xml.c