Using the metsverifier

Introduction

The metsverifier is meant to be run in batch mode and it has only a simple command-line interface. Its configuration is done through the config.xml file. In addition it needs to have the CreateTable file in its installation directory.

Installing

Simply unpack the zip archive into your directory of choice. No further installation steps are required.

Files

The files in the archive are:

Configuring

All configuration is done through config.xml. This file has the following format:

<?xml version="1.0" encoding="UTF-8"?>
<config>
	<database>database</database>
	<batchName>BatchTest</batchName>
	<input>C:/Data/1904</input>
	<verifiers>
		<dataintegrity >
			<filecheck>1</filecheck>
			<checksum>1</checksum>
			<divs>1</divs>
			<unlinkedidentifier>1</unlinkedidentifier>	
		</dataintegrity>
		<semanticchecks>	
				<identifiermix>1</identifiermix>
				<datefolderissue>1</datefolderissue>
				<invalidsupplement>1</invalidsupplement>
				<noissuedefined>1</noissuedefined>
		</semanticchecks>
		<blocks>
			<altoblockperpage>1</altoblockperpage>
			<blockstructure>1</blockstructure>
			<coveragepercentperalto>1</coveragepercentperalto>
			<multipleblockuse>1</multipleblockuse>			
		</blocks>
		<dates>1</dates>
	</verifiers>
</config>

Running

To run the program, it's best to open a command window (Start > Run > "cmd") and redirect the standard output of the program to a file, so that you have a log of what happened, in case something goes wrong. For example:

C:\>cd metsverifier
C:\metsverifier>metsverifier.exe > verifierlog20091104.log