Catch XML error connditions