I think it's because they're not valid XML entities. Look at xdmp:tidy()

 

 

From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Keith L.
Breinholt
Sent: 22 June 2010 17:30
To: General Mark Logic Developer Discussion
Subject: [MarkLogic Dev General] xdmp:unquote() and invalid entity
referenceexception...

 

I'm calling xdmp:unquote() on some content sent to a page for storage.

 

However, on calling xdmp:unquote() with "repair-none" option it is
throwing an exception:

 

XDMP-DOCENTITYREF: xdmp:unquote("<p>&#13;&#10;&#9;<magazine
fileid=&quot;03001_000_000&quot; xmln...", "", ("format-xml",
"repair-none")) -- Invalid entity reference "copy" at line 2

 

I've looked through the document and it is referring to the &copy; html
entity.  However, this is a valid HTML entity, so why is it throwing
this exception;

 

It also throws this exception for &cent; and &mdash;

 

Are they are all valid entities, are they not supported by MarkLogic?

 

Keith L. Breinholt

Missionary & Public Affairs Portfolio

breinhol...@ldschurch.org

"Do what you can, with what you have, where you are." Theodore Roosevelt

 



NOTICE: This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.

 

_______________________________________________
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to