Next Previous Up Contents
Next: funcs: Browses functions used by algebraic expression language
Up: datalinklint: Validates DataLink documents
Previous: Usage

### B.6.2 Examples

Here are some examples of `datalinklint`:

    stilts datalinklint votable=links-response.vot

  Perfoms validation on a VOTable file that has been downloaded from a DataLink links service, and reports the results to standard output.

    stilts datalinklint votable=http://example.org/links?ID=2112
                        truncate=80 report=EW

  Validates a links response directly from the server, testing the HTTP transport requirements as well as the content. Output lines are truncated to 80 characters for convenience, and only the E(rror) and W(arning) lines are displayed.

  The output of this invocation might look like:

      This is the STILTS DataLink validator, 3.1-3
      E-DLCT-1 Incorrect Content-Type text/xml for DataLink service http://example....
      E-RUCD-1 Wrong UCD for column service_def; meta.code != meta.ref
      E-SMCO-1 Unknown predicate 'alternative' from core DataLink vocabulary at row 1
      E-SMCO-2 Unknown predicate 'alternative' from core DataLink vocabulary at row 2

      Totals: Errors: 4; Warnings: 0

  To output in JSON format instead, you could specify `format=json`.

Next Previous Up Contents
Next: funcs: Browses functions used by algebraic expression language
Up: datalinklint: Validates DataLink documents
Previous: Usage

STILTS - Starlink Tables Infrastructure Library Tool Set
Starlink User Note256
STILTS web page: http://www.starlink.ac.uk/stilts/
Author email: m.b.taylor@bristol.ac.uk
Mailing list: topcat-user@jiscmail.ac.uk