-16020   THE CONTEXT NODE IN A PATH EXPRESSION THAT BEGINS WITH AN INITIAL "/" OR "//" DOES NOT HAVE AN XQUERY DOCUMENT NODE ROOT. ERROR QNAME = err:XPDY0050

Explanation

The root node above the context node in an absolute path expression (The symbols / or // at the beginning of the path expression) must be an XQuery document node.

System action

The XQuery expression cannot be processed.

Programmer response

Change each path expression that begins with an initial "/" or "/ /" so that the context node has a root node that is an XQuery document node.

SQLSTATE

10507