Loading TOC...

XDMP-DOCRECURSE

Message Text

Recursive entity reference variable1 at variable2 line variable3

Cause

The XML parser encountered an entity reference that is self-referential. It is possible to create recursive entity references in a DTD. For example, an input document of this form will throw XDMP-DOCRECURSE if read in by xdmp:document-get because the entities ONE and TWO refer to each other:

<?xml version="1.0"?>
<!DOCTYPE RecursiveDTD[
<!ENTITY ZERO "A">
<!ENTITY ONE "&TWO;">
<!ENTITY TWO "&ONE;">
]>
<data>&TWO;</data>

Response

Correct the content or DTD and re-try the operation.

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