[MarkLogic Dev General] xdmp:unquote() and invalid entity reference exception...
lists at fgeorges.org
Tue Jun 22 09:40:09 PDT 2010
Keith L. Breinholt wrote:
> I’ve looked through the document and it is referring to the
> © html entity. However, this is a valid HTML entity, so
> why is it throwing this exception
But XML is not HTML. And those entities are not "pre-declared"
in any way. So I expect that to fail. But actually when I try
to reproduce this based on the partial example you provided, I
get it working:
xdmp:unquote("<p>©</p>", "", ("format-xml", "repair-none"))
gives the following when evaluated through CQ:
More information about the General