Get error data when xml parse fails