Loading TOC...

XDMP-WRONGARITY

W3C XQuery Standard Equivalent: err:XPTY0004

Message Text

Wrong number of arguments specified, expected variable1 but got variable2

Cause

The dynamic function call provided the wrong number of arguments for the function.

Response

Check the documentation for expected arguments, and provide the correct number.

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.