crm_validate_data(node_copy);
add_node_copy(crm_data_t *new_parent, crm_data_t *xml_node){	crm_data_t *node_copy = NULL;		crm_validate_data(new_parent);	crm_validate_data(xml_node);			if(xml_node != NULL && new_parent != NULL) {#ifdef USE_LIBXML		node_copy = copy_xml_node_recursive(xml_node);		xmlAddChild(new_parent, node_copy);#else		ha_msg_addstruct(new_parent, crm_element_name(xml_node), xml_node);		node_copy = find_entity(new_parent, crm_element_name(xml_node), ID(xml_node), FALSE);		crm_update_parents(new_parent);		crm_validate_data(new_parent);#endif	} else if(xml_node == NULL) {		crm_err("Could not add copy of NULL node");	} else {		crm_err("Could not add copy of node to NULL parent");	}		crm_validate_data(node_copy);	return node_copy;}