Revision [771]

This is an old revision of CommandXvalidate made by DavidLee on 2009-09-16 07:57:44.

 

Command xvalidate


Name

xvalidate validates an xml document against a schema

Synopsis

xvalidate [options] [file]

Options


-xsd schema.xsd
-xsd "URI schema.xsd [...]"
Validates against one or more W3C schema files

-dtd schema.dtd
Validates against a XML DTD file

-rng schema.rng
Validates against an RNG schema file

-schematron schematron.xml
validates against a schematron description

Description

validates an xml document against a schema.
Forcibly ignores any DTD schema specified in the DOCTYPE instruction.

xsd validation

XSD validation uses the xsdvalidate command.

dtd validation

Validations against the specified DTD and ignores any DTD in the DOCTYPE processing instruction.

rng validation

rng validation uses the rngvalidate command

schematron validation

schematron validation uses the schematron command




If no files are specified, then stdin is read.
If one file is specified it is used as XML input.

Return Value

Returns 0 (true) if validation is successful.
Returns 1 (fail) if validation fails and prints any validation errors on stderr


CategoryCommands
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki