Improve error reporting while parsing XML files; provide example XML file