W3C XQuery Standard Equivalent: err:XTTE1540
Message Text
Invalid node: Found variable1 but expected variable2 at variable3 using schema variable4
Cause
Unexpected content (element, attribute, or text) was seen in validating an element against a named type.
Response
Fix the content to be valid. Check the name of the element or attribute reported as unexpected, or remove the unexpected text.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.