String normalized in the result of XQuery?

Hi, When I evaluate the following XQuery: 'a&_#10;b' using a scenario configured with the MarkLogic "transformer," I get the following result: 'a b' (a file with those three characters, note this is a space instead of a linefeed.) If I use the MarkLogic CQ, I get the expected result, with a linefeed instead of a space. Sounds like a bug to me. I am not sure what other info I could provide you with. Regards, -- Florent Georges http://www.fgeorges.org/

Hello Florent, You have to disable the option Format transformer output in Preferences -> XML -> XSLT-FO-XQuery -> XQuery so that the transformer output is not pretty-printed anymore. Regards, Sorin Florent Georges wrote:
Hi,
When I evaluate the following XQuery: 'a&_#10;b' using a scenario configured with the MarkLogic "transformer," I get the following result: 'a b' (a file with those three characters, note this is a space instead of a linefeed.) If I use the MarkLogic CQ, I get the expected result, with a linefeed instead of a space.
Sounds like a bug to me. I am not sure what other info I could provide you with.
Regards,

Sorin Ristache wrote:
You have to disable the option Format transformer output in Preferences -> XML -> XSLT-FO-XQuery -> XQuery so that the transformer output is not pretty-printed anymore.
I understand now why long text nodes were cut in the middle... Thanks for the answer! -- Florent Georges http://www.fgeorges.org/
participants (2)
-
Florent Georges
-
Sorin Ristache