json 2.0 bug: json:serialize(json:parse(VALID_JSON))
Bug #920717 reported by
Sorin Marian Nasoi
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Released
|
Medium
|
Paul J. Lucas |
Bug Description
Should be possible to call json:serialize(
where VALID_JSON is any valid JSON string
see added failing test test/rbkt/
import module namespace json="http://
declare variable $json-value := '{"html"
json:serialize(
Changed in zorba: | |
status: | Fix Committed → In Progress |
assignee: | William Candillon (wcandillon) → Paul J. Lucas (paul-lucas) |
Changed in zorba: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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.