validxml(1p)

validxml1p

Command-line driver for xml::validate.

Usage

validxml *.xml

validxml --assert-invalid *.xml

Overview

Command-line driver for XML::Validate using the 'BestAvailable' processing type.

Commandline Options

--assert-invalid

Swap the ok/not ok so invalid things are OK - still output the validation error) - this is useful for schema "unit tests".

--backend [validator type]

Specify an "XML::Validate" backend to use (e.g LibXML, Xerces). Defaults to BestAvailable.

Output

Output is Test::Harness compatible.

    1..scalar @files
    ok - filename/not ok - filename - validation error

Version

$Revision: 1.10 $

$Id: validxml.pl,v 1.10 2006/04/07 09:43:10 johnl Exp $

Releases

6 releases since Debian 6.0 (Squeeze); the text changed 2 times.

  1. 6.0–7
  2. 10–11
  3. 12–13

Author

Nicola Worthington

$Author: johnl $

From libxml-validate-perl 1.025-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.