Index out of bounds: variable1 invalid: variable2
An attempt was made to access an element outside the bounds of the vector.
Please ensure the index is within the valid range.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.