This example loads an XML file with errors and displays an error dialog.