W3C XQuery Standard Equivalent: err:XQTY0030
Message Text
Argument to validate expression must be document or element node
Cause
An attempt was made to validate something that was not a document node, element node, or (in XSLT) an attribute node.
Response
Fix the application to avoid validation of inappropriate items.