OK, I've fixed your latest bug. For the record, the smallest possible
query that showed the bug was:

import module namespace json = "http://www.zorba-

let $json := '{ "k1" : [ { "k2" : "v2" }, null ] }'
return json:parse( $json )

It would help if, instead of reporting bugs one-at-a-time, having me fix
them, me thinking the bug is fixed, changing the status, updating the
bug comment, etc, if you reported all your bugs at once.

If you find any more, please open a NEW bug since the previous 2 bugs
you've reported have nothing to do with this bug.

** Changed in: zorba
       Status: In Progress => Fix Committed

** Changed in: zorba
     Assignee: Paul J. Lucas (paul-lucas) => William Candillon (wcandillon)

You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.

  json 2.0 bug: json:serialize(json:parse(VALID_JSON))

Status in Zorba - The XQuery Processor:
  Fix Committed

Bug description:
  Should be possible to call json:serialize(json:parse(VALID_JSON))
  where VALID_JSON is any valid JSON string
  see added failing test test/rbkt/zorba/json/json-snelson-serialize-parse:

  import module namespace 
  declare variable $json-value := '{"html":"<b>bold</b>"}';

To manage notifications about this bug go to:

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