#ifdef USE_LIBXML const char *local_name = NULL; const char *local_value = NULL; local_value = crm_strdup(value); local_name = crm_strdup(name); xmlUnsetProp(node, local_name); xmlSetProp(node, local_name, local_value); return xmlGetProp(node, local_name); #else 
set_xml_property_copy(crm_data_t* node, const char *name, const char *value){	const char *parent_name = NULL;	if(node != NULL) {		parent_name = crm_element_name(node);	}		crm_debug_5("[%s] Setting %s to %s", crm_str(parent_name), name, value);	if (name == NULL || strlen(name) <= 0) {			} else if(node == NULL) {			} else if(parent_name == NULL && strcmp(name, F_XML_TAGNAME) != 0) {			} else if (value == NULL || strlen(value) <= 0) {		xml_remove_prop(node, name);		return NULL;			} else {#ifdef USE_LIBXML		const char *local_name = NULL;		const char *local_value = NULL;		local_value = crm_strdup(value);		local_name = crm_strdup(name);		xmlUnsetProp(node, local_name);		xmlSetProp(node, local_name, local_value);		return xmlGetProp(node, local_name);#else		crm_validate_data(node);		ha_msg_mod(node, name, value);		return crm_element_value(node, name);#endif	}		return NULL;}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/50d05afdbc8743d6b8079541c4592c1bd0365dad/xml.c/buggy/lib/crm/common/xml.c