protected MessageHandler buildSchemaValidateXMLMessage() throws ComponentInitializationException {
        try {
            MessageHandler validateXMLHandler = new SchemaValidateXMLMessage(
                new SAMLSchemaBuilder(SAML1Version.SAML_11).getSAMLSchema());
            validateXMLHandler.initialize();
            return validateXMLHandler;
        } catch (final SAXException e) {
            throw new ComponentInitializationException(e);
        }
    }
<p>buildSchemaValidateXMLMessage.</p>

@return a {@link MessageHandler} object
@throws ComponentInitializationException if any.
pac4j-saml/src/main/java/org/pac4j/saml/sso/artifact/DefaultSOAPPipelineFactory.java