Check-repository-integrity
From PTAGISWiki
11/28/05
Sometimes the SREE repository file (repository.xml) becomes corrupted. This is often caused by allowing two scheduler processes to run (one on reedi and one on rufus). When this occurs, a backup of the file must be restored. CVS makes it fairly easy to roll back to a previous version.
Firefox can attempt to parse the file and may report some glaring errors if they exist. Just point your browser to a copy of the file like so:
file:///net/reedi/global/ds1/pitweb/ptagis-1.0/web/sree/WEB-INF/classes/repository.xml
A better sanity check can be done by using the htmltidy command which will attempt to parse the file and determine if it is well-formed xml. Tidy reads stdin, parses it, and attempts to re-format it according to rules in the config file. Here we are throwing away the re-formatted file and just looking at stderr to see if it detects any problems:
tidy -config /home/rday/.tidy.config repository.xml > /dev/null
