zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #01269
[Bug 878508] [NEW] JSON Module not escaping escape characters
Public bug reported:
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.
** Affects: zorba
Importance: Undecided
Assignee: Sorin Marian Nasoi (sorin.marian.nasoi)
Status: New
** Changed in: zorba
Assignee: (unassigned) => Sorin Marian Nasoi (sorin.marian.nasoi)
--
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:
New
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
Follow ups
-
[Bug 878508] Re: JsonML serialization not escaping characters
From: Paul J. Lucas, 2012-07-26
-
[Bug 878508] Re: JsonML serialization not escaping characters
From: Paul J. Lucas, 2012-07-25
-
[Bug 878508] Re: JSON Module not escaping escape characters
From: Chris Hillery, 2012-07-25
-
[Bug 878508] Re: JSON Module not escaping escape characters
From: Paul J. Lucas, 2012-07-24
-
[Bug 878508] Re: JSON Module not escaping escape characters
From: Paul J. Lucas, 2012-07-24
-
[Bug 878508] Re: JSON Module not escaping escape characters
From: Chris Hillery, 2012-07-24
-
[Bug 878508] Re: JSON Module not escaping escape characters
From: Paul J. Lucas, 2012-07-24
-
[Bug 878508] Re: JSON Module not escaping escape characters
From: Paul J. Lucas, 2012-07-24
-
[Bug 878508] Re: JSON Module not escaping escape characters
From: Paul J. Lucas, 2012-07-24
-
[Bug 878508] Re: JSON Module not escaping escape characters
From: Paul J. Lucas, 2012-07-24
-
[Bug 878508] Re: JSON Module not escaping escape characters
From: Chris Hillery, 2012-07-21
-
[Bug 878508] Re: JSON Module not escaping escape characters
From: Chris Hillery, 2012-07-21
-
[Bug 878508] Re: JSON Module not escaping escape characters
From: mb21, 2012-07-20
-
[Bug 878508] Re: JSON Module not escaping escape characters
From: Sorin Marian Nasoi, 2012-03-28
-
[Bug 878508] Re: JSON Module not escaping escape characters
From: Zorba Build Bot, 2012-02-16
-
[Bug 878508] Re: JSON Module not escaping escape characters
From: Launchpad Bug Tracker, 2012-01-27
-
[Bug 878508] Re: JSON Module not escaping escape characters
From: Sorin Marian Nasoi, 2012-01-27
-
[Bug 878508] Re: JSON Module not escaping escape characters
From: Launchpad Bug Tracker, 2012-01-27
-
[Bug 878508] Re: JSON Module not escaping escape characters
From: Sorin Marian Nasoi, 2012-01-27
-
[Bug 878508] Re: JSON Module not escaping escape characters
From: Sorin Marian Nasoi, 2012-01-18
-
[Bug 878508] Re: JSON Module not escaping escape characters
From: Sorin Marian Nasoi, 2011-10-21
-
[Bug 878508] [NEW] JSON Module not escaping escape characters
From: Carlos Manuel Lopez, 2011-10-19
References