LPX-01061
[XQDY0061] Invalid document node
Cause
It is a dynamic error if the operand of a validate expression is a document node whose children do not consist of exactly one element node and zero or more comment and processing instruction nodes, in any order.