Move SimpleSAML_Utilities::validateXMLDocument() to SimpleSAML\Utils\XML::checkSAMLMessage().
Move SimpleSAML_Utilities::validateXMLDocument() to SimpleSAML\Utils\XML::checkSAMLMessage().

simplesamlphp/simplesamlphp-module-metaedit