On which branch does the bug show up? I ran the query in the jsoniq
branch, and I get the following result (same for all optimization

<?xml version="1.0" encoding="UTF-8"?>
&lt;json type="object" 
name="html" type="string"&gt;&lt;b&gt;bold&lt;/b&gt;&lt;/pair&gt;&lt;/json&gt;

Is this result correct?

If the bug shows up in another branch, maybe that branch is not up-to-
date w.r.t. the trunk? Recently, I have fixed a couple of bugs related
to the no-copy rule, so if the problem is really with the no-copy rule,
then the branch must be updated.

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