JZN-00461
function argument is not a document node
Cause
A document operation was attempted on a value that was not a document node.
Action
Enusre that scalar values are not supplied as arguments to functions that perform document operations.