Message Text
no version exists for query variable1
Cause
An attempt was made to query for a version of a document that does not exist.
Response
Use dls:document-history to return the version history of the document, then retry the query for an existing version of the document.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.