handle XML errors by returning an empty result set