A module for XML validation and grammars functions.
Remove all cached grammers.
Validate document by parsing $instance. Optionally grammar caching can be enabled. Supported grammars types are '.xsd' and '.dtd'.
$instance | The document referenced as xs:anyURI, a node (element or result of fn:doc()) or as a Java file object. |
$cache-grammars | Set the flag to true() to enable grammar caching. |
Validate document by parsing $instance. Optionally grammar caching can be enabled and an XML catalog can be specified. Supported grammars types are '.xsd' and '.dtd'.
$instance | The document referenced as xs:anyURI, a node (element or result of fn:doc()) or as a Java file object. |
$cache-grammars | Set the flag to true() to enable grammar caching. |
$catalogs* | The catalogs referenced as xs:anyURI's. |
Parse document in validating mode, all defaults are filled in according to the grammar (xsd).
$instance | The document referenced as xs:anyURI, a node (element or result of fn:doc()) or as a Java file object. |
$enable-grammar-cache | Set the flag to true() to enable grammar caching. |
$catalogs* | The catalogs referenced as xs:anyURI's. |
Validate document by parsing $instance. Optionally grammar caching can be enabled. Supported grammars types are '.xsd' and '.dtd'. An XML report is returned.
$instance | The document referenced as xs:anyURI, a node (element or result of fn:doc()) or as a Java file object. |
$enable-grammar-cache | Set the flag to true() to enable grammar caching. |
Validate document by parsing $instance. Optionally grammar caching can be enabled and an XML catalog can be specified. Supported grammars types are '.xsd' and '.dtd'. An XML report is returned.
$instance | The document referenced as xs:anyURI, a node (element or result of fn:doc()) or as a Java file object. |
$enable-grammar-cache | Set the flag to true() to enable grammar caching. |
$catalogs* | The catalogs referenced as xs:anyURI's. |
Validate document specified by $instance using the schemas in $grammars. Based on functionality provided by 'javax.xml.validation.Validator'. Only '.xsd' grammars are supported.
$instance | The document referenced as xs:anyURI, a node (element or returned by fn:doc()) or as a Java file object. |
$grammars+ | The namespace URI to designate a schema language. Depending on the jaxv.SchemaFactory implementation the following values are valid:(XSD 1.0) http://www.w3.org/2001/XMLSchema http://www.w3.org/XML/XMLSchema/v1.0, (XSD 1.1) http://www.w3.org/XML/XMLSchema/v1.1, (RELAX NG 1.0) http://relaxng.org/ns/structure/1.0 |
Validate document specified by $instance using the schemas in $grammars. Based on functionality provided by 'javax.xml.validation.Validator'. Only '.xsd' grammars are supported.
$instance | The document referenced as xs:anyURI, a node (element or returned by fn:doc()) or as a Java file object. |
$grammars+ | One of more XML Schema documents (.xsd), referenced as xs:anyURI, a node (element or returned by fn:doc()) or as Java file objects. |
$language | The namespace URI to designate a schema language. Depending on the jaxv.SchemaFactory implementation the following values are valid:(XSD 1.0) http://www.w3.org/2001/XMLSchema http://www.w3.org/XML/XMLSchema/v1.0, (XSD 1.1) http://www.w3.org/XML/XMLSchema/v1.1, (RELAX NG 1.0) http://relaxng.org/ns/structure/1.0 |
Validate document specified by $instance using the schemas in $grammars. Based on functionality provided by 'javax.xml.validation.Validator'. Only '.xsd' grammars are supported. An XML report is returned.
$instance | The document referenced as xs:anyURI, a node (element or returned by fn:doc()) or as a Java file object. |
$grammars+ | One of more XML Schema documents (.xsd), referenced as xs:anyURI, a node (element or returned by fn:doc()) or as Java file objects. |
Validate document specified by $instance using the schemas in $grammars. Based on functionality provided by 'javax.xml.validation.Validator'. Only '.xsd' grammars are supported. An XML report is returned.
$instance | The document referenced as xs:anyURI, a node (element or returned by fn:doc()) or as a Java file object. |
$grammars+ | One of more XML Schema documents (.xsd), referenced as xs:anyURI, a node (element or returned by fn:doc()) or as Java file objects. |
$language | The namespace URI to designate a schema language. Depending on the jaxv.SchemaFactory implementation the following values are valid:(XSD 1.0) http://www.w3.org/2001/XMLSchema http://www.w3.org/XML/XMLSchema/v1.0, (XSD 1.1) http://www.w3.org/XML/XMLSchema/v1.1, (RELAX NG 1.0) http://relaxng.org/ns/structure/1.0 |
Validate document using 'Jing'. Supported grammar documents extensions are ".xsd" ".rng" ".rnc" ".sch" and ".nvdl". Based on functionality provided by 'com.thaiopensource.validate.ValidationDriver'.
$instance | The document referenced as xs:anyURI, a node (element or returned by fn:doc()) or as a Java file object. |
$grammar | The grammar document as node (element of returned by fn:doc()), xs:anyURI, returned by util:binary-doc() or as a Java file object. |
Validate document using 'Jing'. Supported grammar documents extensions are ".xsd" ".rng" ".rnc" ".sch" and ".nvdl". Based on functionality provided by 'com.thaiopensource.validate.ValidationDriver'. An XML report is returned.
$instance | The document referenced as xs:anyURI, a node (element or returned by fn:doc()) or as a Java file object. |
$grammar | The grammar document as node (element of returned by fn:doc()), xs:anyURI, returned by util:binary-doc() or as a Java file object. |
Pre parse grammars and add to grammar cache. Only XML schemas (.xsd) are supported.
$grammar* | Reference to grammar. |
Show all cached grammars.