Is it possible that this hasn't been fixed yet? I still get unescaped
double quotes when converting a node that contains a string with
quotes...

** Attachment added: "reproduce"
   
https://bugs.launchpad.net/zorba/+bug/878508/+attachment/3230168/+files/json.xq

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/878508

Title:
  JSON Module not escaping escape characters

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  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
  \"    <-> &quot;
  \\    <-> \
  \/    <-> /
  \b    <-> &#x8;
  \f    <-> &#xC;
  \n    <-> *actual newline*
  \r    <-> *actual carriage return*
  \t    <-> '   '
  \u$$$$<-> &#x$$$$; or #$$$$$; with the correct hex-decimal conversion
  <     <-> &lt;
  >     <-> &gt;
  &     <-> &amp;
  '     <-> &apos;

  This proposition might create a regresion related to bug #866757.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/878508/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to