The usage of votlint
is
stilts <stilts-flags> votlint validate=true|false version=1.0|1.1|1.2|1.3 out=<location> [votable=]<location>If you don't have the
stilts
script installed,
write "java -jar stilts.jar
" instead of
"stilts
" - see Section 3.
The available <stilts-flags>
are listed
in Section 2.1.
For programmatic invocation, the Task class for this
command is uk.ac.starlink.ttools.task.VotLint
.
Parameter values are assigned on the command line as explained in Section 2.3. They are as follows:
out = <location>
(uk.ac.starlink.util.Destination)[Default: -
]
validate = true|false
(Boolean)votlint
's own checks,
it is validated against an appropriate version of the VOTable
DTD which picks up such things as the presence 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. Setting this flag false prevents
this validation step so that only votlint
's
own checks are performed.
In this case many violations of the VOTable standard
concerning document structure will go unnoticed.
[Default: true
]
version = 1.0|1.1|1.2|1.3
(uk.ac.starlink.votable.VOTableVersion)If no value is provided for this parameter (the default), the version will be determined from the VOTable itself.
votable = <location>
(InputStream)[Default: -
]