Reads a simple XML file and returns an <xml-document>. If the file cannot be parsed, this function signals an <xml-error>.
sealed