Message Text
Invalid depth (should be "0" or "infinity")
Cause
An invalid value was supplied for depth to a locking function such as xdmp:lock-acquire
. The only values allowed are "0" and "infinity".
Response
Correct your code. For more information, see the Overview of Locks in the Application Developer's Guide.