Monk Datastore Overview

prev     tcon     next

Val

Val is a tool that can be used to validate Monk texts. It uses the Jing RELAX NG validator.

Usage:

java edu.northwestern.at.monk.tools.Val schema params

schema = path to RELAX NG schema file.

params = path to parameters file.

The schema files

We provide three RELAX NG schema files:

These files should be located in the same directory.

The schema files can also be used with the Jing command line tool or with other RELAX NG validators.

The parameters file

The parameters file is an XML file which enumerates the directories containing the text files to be validated. For example:

<params>

    <texts>texts/eebo/bibadorned</texts> 
    <texts>texts/ncf/bibadorned</texts> 
    <texts>texts/wright/bibadorned</texts>
    <texts>texts/eaf/bibadorned</texts>
    <texts>texts/sha/bibadorned</texts> 

</params>

Only files in the specified directories with the extension ".xml" are processed.

By design, a Prior parameters file may be used as a parameters file for Val. In this case, the additional information in the parameters file that is used by Prior is ignored by Val.

The report file

Val writes a report to stdout. The report lists all the texts validated and any Jing validation error messages.

prev     tcon     next