Validated node was not valid: variable1 (variable2)
Cause
Validation failed for some reason not specifically called out. For example, if an attribute is declared as having a fixed value and the type xs:ID, this error occurs. The error gives more information for the reason for the failure.
Response
Depending on the specific reason for the error, the instance may be invalid and need fixing, or the schema may be invalid and need fixing.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.