load errors from XML file