The basic usage of votlint
is
votlint [<flags>] [<in-file>]If you don't have the Unix scripts installed, invoke it as described in Section 2 using the classname
uk.ac.starlink.ttools.VotLint
.
If <in-file>
is omitted then the document to be checked
is read from standard input.
<in-file>
may be a filename or URL, and may
represent a VOTable compressed using one of the supported
compression formats (gzip, Unix compress and bzip2).
The flags, which may be given in any order, are as follows:
-novalid
votlint
's own checks on the
submitted document, it is validated against an appropriate version
of the VOTable DTD which picks up such things as the existence
of unknown elements and attributes, elements in the wrong place,
and so on. Sometimes however, particularly when XML namespaces are
involved, the validator can get confused and may produce a lot
of spurious errors.
Specifying the -novalid
flag prevents this validation
step so that only votlint
's checks are performed.
In this case a few, but by no means all violations of the VOTable
standard concerning document structure will be picked up.
-version <vers>
<vers>
can be
1.0
or 1.1
.
The version may be noted within the document using the
version
attribute of the document's
VOTABLE
element; if it is and it conflicts with the
version specified using this flag, a warning is issued.
-h[elp]
-debug