All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yahoo.config.model.application.provider.SimpleApplicationValidator Maven / Gradle / Ivy

The newest version!
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.config.model.application.provider;

import com.yahoo.component.Version;

import java.io.IOException;
import java.io.Reader;

/**
 * Simple Validation of services.xml for unit tests against RELAX NG schemas.
 *
 * @author hmusum
 */
public class SimpleApplicationValidator {

    public static void checkServices(Reader reader, Version version) throws IOException {
        new SchemaValidators(version).servicesXmlValidator().validate(reader);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy