} else if(safe_str_neq(XML_TAG_ATTR_SETS, crm_element_name(xml_obj))) { crm_err("Invalid location for instance attributes: %s", crm_element_name(xml_obj)); CRM_DEV_ASSERT(FALSE); return;
unpack_instance_attributes(crm_data_t *xml_obj, GHashTable *hash){	const char *name = NULL;	const char *value = NULL;		if(xml_obj == NULL) {		crm_devel("No instance attributes");		return;			} else if(safe_str_neq(XML_TAG_ATTR_SETS, crm_element_name(xml_obj))) {		crm_err("Invalid location for instance attributes: %s",			crm_element_name(xml_obj));		CRM_DEV_ASSERT(FALSE);		return;	}		xml_child_iter(		xml_obj, attr_set, XML_TAG_ATTRS,		/* todo: check any rules */				xml_child_iter(			attr_set, an_attr, XML_CIB_TAG_NVPAIR,			name =crm_element_value(an_attr, XML_NVPAIR_ATTR_NAME);			value=crm_element_value(an_attr, XML_NVPAIR_ATTR_VALUE);			add_hash_param(hash, name, value);			);		);}