Catch XML parsing exceptions and show the user a message.