** Changed in: zorba
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/920722

Title:
  json 2.0 bug: comment nodes should be ignored by json:serialize

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  Comment nodes should be ignored by json:serialize function: please see 
failing tests:
  - test/rbkt/zorba/json/json-snelson-serialize-object-03
  - test/rbkt/zorba/json/json-snelson-serialize-array-12

  For instance, test json-snelson-serialize-object-03:

  import module namespace json = "http://www.zorba-
  xquery.com/modules/converters/json";

  let $json :=
    <json type="object">
    <!--comment-->
      <pair name="a" type="number">1</pair>
    <!--comment-->
    </json>
  return json:serialize( $json )

  returns 
  {,"a":1,}
  instead of 
  {"a":1}

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/920722/+subscriptions

-- 
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