def __init__(self, ymlfile, schemafile):
        """Creates a new YAML validator for the given schema and yaml file

        The schema file should validate against JSON Schema Draft 4
        http://json-schema.org/latest/json-schema-core.html

        The YAML file should validate against the schema file given
        """
        self._ymlfile = ymlfile
        self._schemafile = schemafile

        # Get the error handler ready, just in case
        self.ehandler = ErrorHandler(ymlfile=self._ymlfile, schemafile=self._schemafile)
def __init__ ( self , ymlfile , schemafile ) : self . _ymlfile = ymlfile self . _schemafile = schemafile self . ehandler = ErrorHandler ( ymlfile = self . _ymlfile , schemafile = self . _schemafile )
Creates a new YAML validator for the given schema and yaml file

        The schema file should validate against JSON Schema Draft 4
        http://json-schema.org/latest/json-schema-core.html

        The YAML file should validate against the schema file given