Loading TOC...

XDMP-DOCROOTTEXT

Message Text

Invalid root text variable1 at variable2 line variable3

Cause

Text appears at the root of an XML document. For example:

<?xml version="1.0"?>
text at root
<data>text not at root</data>

Response

Repair the content and re-try the operation. For example, insert a root element:

<?xml version="1.0"?>
<added-root>
text at root
<data>text not at root</data>
</added-root>

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