Loading TOC...

XDMP-VALIDATEBADDERIV

W3C XQuery Standard Equivalent: err:XQDY0027

Message Text

Invalidly derived type: Element variable1 xsi:type variable2 not validly derived from variable3 using schema variable4

Cause

Validation detected an element with an xsi:type attribute where the type referred to in that attribute was not validly derived from the declared type of the element. This could be because the type is not a subtype of the declared type at all, or because the schema prohibits the derivation explicitly.

Response

Fix the instance to use an appropriate type in the xsi:type attribute, or fix the schema to allow the derivation, if appropriate.

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