json 2.0 bug: comment nodes should be ignored by json:serialize
Bug #920722 reported by
Sorin Marian Nasoi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Released
|
Medium
|
Paul J. Lucas |
Bug Description
Comment nodes should be ignored by json:serialize function: please see failing tests:
- test/rbkt/
- test/rbkt/
For instance, test json-snelson-
import module namespace json = "http://
let $json :=
<json type="object">
<!--comment-->
<pair name="a" type="number"
<!--comment-->
</json>
return json:serialize( $json )
returns
{,"a":1,}
instead of
{"a":1}
Changed in zorba: | |
status: | New → Fix Committed |
Changed in zorba: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.