Loading TOC...

XDMP-CAST

W3C XQuery Standard Equivalent: err:FORG0001

Message Text

Invalid cast: variable1 cast as variable2

Cause

An expression or declaration attempted to cast a value to an incompatible type. For example, passing a value to a constructor of a type illegal for the data type being constructed.

Response

Correct your code.

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