<xqdoc:description>Validate document specified by $a using $b. $a is of type xs:anyURI, or a node (element or returned by fn:doc()). $b can point to an OASIS catalog file, a grammar (xml schema only) or a collection (path ends with '/') A simple report is returned.</xqdoc:description>
</xqdoc:comment>