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 levels):
<?xml version="1.0" encoding="UTF-8"?> <json type="object" xmlns="http://www.zorba-xquery.com/modules/converters/json"><pair name="html" type="string"><b>bold</b></pair></json>
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.
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 levels):
<?xml version="1.0" encoding="UTF-8"?> www.zorba- xquery. com/modules/ converters/ json"><pair name="html" type="string" >< b>bold& lt;/b> </pair& gt;< /json>
<json type="object" xmlns="http://
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.