Modified isCompliantXMLFile