There are output serialization options for when you return results from 
MarkLogic that will cause certain sets of characters to be emitted using named 
entities, such as é

You can set the on the appserver level. The setting you want to adjust is 
output-sgml-character-entities; set it to "normal"

//Mary

On 02/09/2017 12:53 PM, Kari Cowan wrote:
Well sure.  To be clear, we started with é on cms our editors use – and then we 
exported that to ML having changed it to é (which I presume we did so 
the our content loader wouldn’t choke on it).  That’s perfect for most re-use 
scenarios.  I am then taking that however, and pulling it back to use it in an 
RSS/XML feed and ML returns it as é again – which will give the xml readers a 
minor stroke.  IF there was an option to return such characters in original 
stored read (é, in my example) – I would take it.  Getting it as the 
/text() element doesn’t quite cut it for this use but I can work around it for 
my own purposes.

From: 
<[email protected]><mailto:[email protected]>
 on behalf of Christopher Hamlin <[email protected]><mailto:[email protected]>
Reply-To: MarkLogic 
<[email protected]><mailto:[email protected]>
Date: Thursday, February 9, 2017 at 11:49 AM
To: MarkLogic 
<[email protected]><mailto:[email protected]>
Subject: Re: [MarkLogic Dev General] Is xdml:unquote appropriate for handling 
accent characters?

If the XML is OK (as XML), then it sounds like something downstream.  Either 
something funky expected in quoted-meta-whatever content or a bad reader?  I 
don't know RSS, but I thought there would be no problems these days with UTF-8 
in either XML or even HTML pages.










_______________________________________________
General mailing list
[email protected]<mailto:[email protected]>
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general


_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to