pkg:errors( $pkgname as xs:string ) as element(err:configuration-error)*
[DEPRECATED: use cma:generate-config
and
cma:apply-config
instead.]
err:configuration-error
elements.
If no errors are detected, an empty sequence is returned.
Parameters | |
---|---|
pkgname | The name of the package to check for errors. |
xquery version "1.0-ml"; import module namespace pkg = "http://marklogic.com/manage/package" at "/MarkLogic/manage/package/package.xqy"; pkg:errors("mypackage) => Returns any detected errors. If no errors are detected, an empty sequence is returned.