Additions:
||-xsd schema.xsd||Validates against a single W3C schema files in no namespace||
||-xsd "URI schema.xsd [...]"||Validates against one or more W3C schema files in namespaces||
||-xsd "URI schema.xsd [...]"||Validates against one or more W3C schema files in namespaces||
Deletions:
||-xsd "URI schema.xsd [...]"||Validates against one or more W3C schema files||
Additions:
||-xsd schema.xsd||Validates against one or more W3C schema files||
||-xsd "URI schema.xsd [...]"||Validates against one or more W3C schema files||
||-xsd "URI schema.xsd [...]"||Validates against one or more W3C schema files||
Deletions:
-xsd "URI schema.xsd [...]"||Validates against one or more W3C schema files||
Additions:
-xsd "URI schema.xsd [...]"||Validates against one or more W3C schema files||
[[Commands]]
[[Commands]]
Deletions:
Additions:
xvalidate [ [[SerializationOptions serialization options]] ] [options] [file]
||-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||
Supports the standard [ [[SerializationOptions serialization 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||
Supports the standard [ [[SerializationOptions serialization options]] ]
Deletions:
-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
Additions:
Validates an xml document against one or more xsd schemas.
If the first form is used then the schema is used as the "no namespace" schema.
If the second form is used then one or more URI/schema pairs are used as namespace schemas for validation.
rng validation uses the [[CommandRngvalidate rngvalidate]] command. See that command for details on the options.
If the first form is used then the schema is used as the "no namespace" schema.
If the second form is used then one or more URI/schema pairs are used as namespace schemas for validation.
rng validation uses the [[CommandRngvalidate rngvalidate]] command. See that command for details on the options.
Deletions:
Additions:
----
Deletions:
Additions:
===schematron validation===
Deletions:
Additions:
validates an xml document against a schema.
Forcibly ignores any DTD schema specified in the DOCTYPE instruction.
===xsd validation===
XSD validation uses the [[CommandXsdvalidate xsdvalidate]] command.
===dtd validation===
Validations against the specified DTD and ignores any DTD in the DOCTYPE processing instruction.
===rng validation===
rng validation uses the [[CommandRngvalidate rngvalidate]] command
===schematron validation]]
schematron validation uses the [[CommandSchematron schematron]] command
Forcibly ignores any DTD schema specified in the DOCTYPE instruction.
===xsd validation===
XSD validation uses the [[CommandXsdvalidate xsdvalidate]] command.
===dtd validation===
Validations against the specified DTD and ignores any DTD in the DOCTYPE processing instruction.
===rng validation===
rng validation uses the [[CommandRngvalidate rngvalidate]] command
===schematron validation]]
schematron validation uses the [[CommandSchematron schematron]] command
Deletions:
Additions:
validates against a schematron description
Additions:
-xsd "URI schema.xsd [...]"
Validates against one or more W3C schema files
-schematron schematron.xml
Validates against one or more W3C schema files
-schematron schematron.xml
Deletions:
Additions:
====Return Value====
Returns 0 (true) if validation is successful.
Returns 1 (fail) if validation fails and prints any validation errors on stderr
Returns 0 (true) if validation is successful.
Returns 1 (fail) if validation fails and prints any validation errors on stderr