zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #10811
[Bug 998757] Re: Object form of JsonML causes crash
** 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/998757
Title:
Object form of JsonML causes crash
Status in Zorba - The XQuery Processor:
Fix Released
Bug description:
The following query:
import module namespace json = "http://www.zorba-
xquery.com/modules/converters/json";
let $opt := <options xmlns="http://www.zorba-xquery.com/modules/converters/json-options"><json-format value="JsonML-array"/></options>
let $json := '{"name": "msg", "args": ["<div><span>@wcandillon:</span> parse</div>"]}'
return
json:parse($json, $opt)
Returns:
<?xml version="1.0" encoding="UTF-8"?>
Zorba Internal Fatal Error in /Users/wcandillon/tmp/zorba/src/store/naive/node_items.cpp:2908:
"!ns.empty() || prefix.empty()": condition failed: prefix = <div><span>@wcandillon ns =
Abort trap: 6
Example:
http://www.zorba-xquery.com/html/demo#qCL4/2QZzsmiSyPv6SjmdZH025s=
To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/998757/+subscriptions
References