Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

jing(1) [debian man page]

jing(1) 						      General Commands Manual							   jing(1)

NAME
jing - validate an XML document using a RELAX NG schema SYNOPSIS
jing [-cfit] [-e encoding] rng-file [xml-file...] DESCRIPTION
If rng-file is a correct RELAX NG schema and each xml-file is a well-formed XML document that is valid with respect to rng-file, then jing will be silent and terminate with a status of 0. Otherwise, jing will report one or more errors to the standard output and will terminate with a status of 1. Both rng-file and xml-file can be filenames or URIs. OPTIONS
-c Uses the compact syntax for the schema. -e enc Uses the encoding enc to read the schema. -f Checks that the document is feasibly valid. A document is feasibly valid if it could be transformed into a valid document by insert- ing any number of attributes and child elements anywhere in the tree. This is equivalent to transforming the schema by wrapping every data, list, element and attribute element in an optional element and then validating against the transformed schema. This option may be useful while a document is still under construction. This option also disables checking that for every IDREF there is a corresponding ID. -i Disables checking of ID/IDREF/IDREFS. By default, Jing enforces the constraints imposed by RELAX NG DTD Compatibility with respect to ID/IDREF/IDREFS. -t Prints the time used by Jing for loading the schema and for validation. SEE ALSO
trang(1) http://relaxng.org AUTHOR
James Clark (jjc@jclark.com) This product includes software developed by the Apache Software Foundation (http://www.apache.org/). @VERSION@ jing(1)

Check Out this Related Man Page

VIRT-XML-VALIDATE.IN(1) 				      Virtualization Support					   VIRT-XML-VALIDATE.IN(1)

NAME
virt-xml-validate - validate libvirt XML files against a schema SYNOPSIS
virt-xml-validate XML-FILE [SCHEMA-NAME] DESCRIPTION
Validates a libvirt XML for compliance with the published schema. The first compulsory argument is the path to the XML file to be validated. The optional second argument is the name of the schema to validate against. If omitted, the schema name will be inferred from the name of the root element in the XML document. Valid schema names currently include "domain" The schema for the XML format used by guest domains configuration "network" The schema for the XML format used by virtual network configuration "storagepool" The schema for the XML format used by storage pool configuration "storagevol" The schema for the XML format used by storage volume descriptions "nodedev" The schema for the XML format used by node device descriptions "capability" The schema for the XML format used to declare driver capabilities EXIT STATUS
Upon successful validation, an exit status of 0 will be set. Upon failure a non-zero status will be set. AUTHOR
Daniel P.Berrange BUGS
Report any bugs discovered to the libvirt community via the mailing list "http://libvirt.org/contact.html" or bug tracker "http://libvirt.org/bugs.html". Alternatively report bugs to your software distributor / vendor. COPYRIGHT
Copyright (C) 2009-2010 by Red Hat, Inc. Copyright (C) 2009 by Daniel P. Berrange LICENSE
virt-xml-validate is distributed under the terms of the GNU GPL v2+. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE SEE ALSO
virsh(1), online XML format descriptions "http://libvirt.org/format.html" libvirt-0.9.12.2 2014-01-11 VIRT-XML-VALIDATE.IN(1)
Man Page