And my point is that when *I* see the string values, I see them in their
in-memory form. For example, for the < character, I see it as a <
character. This is perfectly legal in JSON which means I should do
*nothing* to it. Yet some other code downstream from me is converting
that to <. My code isn't doing that so there's nothing for me to fix.
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
JSON Module not escaping escape characters
Status in Zorba - The XQuery Processor:
The module doesn't convert escaped characters as you would expect. You
instead get a string containing the string with it's unescaped value. A
conversion needs to be implemented, something such as:
JSON <-> XML
\" <-> "
\\ <-> \
\/ <-> /
\n <-> *actual newline*
\r <-> *actual carriage return*
\t <-> ' '
\u$$$$<-> &#x$$$$; or #$$$$$; with the correct hex-decimal conversion
< <-> <
> <-> >
& <-> &
' <-> '
This proposition might create a regresion related to bug #866757.
To manage notifications about this bug go to:
Mailing list: https://launchpad.net/~zorba-coders
Post to : firstname.lastname@example.org
Unsubscribe : https://launchpad.net/~zorba-coders
More help : https://help.launchpad.net/ListHelp