Loads an XML file.
string $file An XML file path:
\DOMDocument
\InvalidArgumentException When loading of XML file fails because of syntax errors or when the XML structure is not as expected by the scheme - see validate()
Overrides XmlFileLoader::loadFile
protected function loadFile($file) {
return XmlUtils::loadFile($file, function () {
return true;
});
}