Loading TOC...

XDMP-VALIDATEDUPKEY

W3C XQuery Standard Equivalent: err:XQDY0027

W3C XSLT Standard Equivalent: err:XTTE1555

Message Text

Duplicate key: Duplicate key variable1 for identity constraint variable2 at variable3 using schema variable4

Cause

Validation determined that a uniqueness constraint was violated. For some identity constraint definition declared with unique keys, a key was used in the document more than once.

Response

The document is invalid. Make sure each key that is supposed to be unique is defined only once in the document.

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.