---
name: "validxml"
section: "1p"
platform: "linux"
package: "libxml-validate-perl"
version: "1.025-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/validxml"
---

# validxml(1p)

Command-line driver for XML::Validate.

## NAME

validxml - Command-line driver for XML::Validate.

## SYNOPSIS

```
    validxml *.xml
    validxml --assert-invalid *.xml
```

## DESCRIPTION

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 $

## AUTHOR

Nicola Worthington

`$Author:` johnl $

## COPYRIGHT

(c) BBC 2005. This program is free software; you can redistribute it and/or modify it under the GNU GPL. See the file COPYING in this distribution, or http://www.gnu.org/licenses/gpl.txt
