A RESTful browser for eXist Java-Based Function Modules


http://exist-db.org/xquery/validation
A module for XML validation and grammars functions.

validation:jing($instance as item(), $grammar as item()) xs:boolean
Validate document using 'Jing'. Supported grammar documents extensions are ".xsd" ".rng" ".rnc" ".sch" and ".nvdl". Based on functionality provided by 'com.thaiopensource.validate.ValidationDriver'.
$instanceThe document referenced as xs:anyURI, a node (element or returned by fn:doc()) or as a Java file object.
$grammarThe grammar document as node (element of returned by fn:doc()), xs:anyURI, returned by util:binary-doc() or as a Java file object.

Returns true() if the document is valid and no single problem occured, false() for all other conditions. For detailed validation information use the corresponding -report() function.
Return to list of all modules