[Zorba-coders] [Bug 878508] Re: JsonML serialization not escaping characters

2012-07-26 Thread Paul J. Lucas
** Changed in: zorba
   Status: Confirmed => Fix Committed

-- 
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:
  JsonML serialization not escaping characters

Status in Zorba - The XQuery Processor:
  Fix Committed

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
  \"<-> "
  \\<-> \
  \/<-> /
  \b<-> 
  \f<-> 
  \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:
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


[Zorba-coders] [Bug 878508] Re: JsonML serialization not escaping characters

2012-07-25 Thread Paul J. Lucas
** Summary changed:

- JSON Module not escaping escape characters
+ JsonML serialization not escaping characters

-- 
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:
  JsonML serialization not escaping characters

Status in Zorba - The XQuery Processor:
  Confirmed

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
  \"<-> "
  \\<-> \
  \/<-> /
  \b<-> 
  \f<-> 
  \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:
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