I think this is happening because of the was json:parse() is declared to
return an element(*,xs:untyped)*. I need help to (1) confirm and (2) how
to fix it. I don't think this bug has anything to do with my JSON
parsing/serializing code per se.

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:

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