Loading TOC...

XDMP-COMMENTHYPHENS

W3C XQuery Standard Equivalent: err:XQDY0072

Message Text

XML comments cannot contain two adjacent hyphens

Cause

The text in a comment node contains two adjacent hyphens. For example:

comment { "a -- b" }

Response

Correct your code. For example, remove one of the hyphens.

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