Hi Florent,
The module uses XQuery 3.1 arrays; those have only been introduced by BaseX 8.0.
Hope this helps, Christian
On Mon, Jan 12, 2015 at 5:19 PM, Florent Gallaire fgallaire@gmail.com wrote:
Hello Christian,
I'm working with BaseX 7.9 and I have a message error:
Stopped at /home/../basex/webapp/simple-json.xqm, 33/27: [XPST0003] Incomplete 'if' expression.
With the BaseX 8.0 dev version I don't have this error.
Florent
On Sat, Jan 10, 2015 at 2:49 AM, Christian Grün christian.gruen@gmail.com wrote:
I'm not sure yet. Does it work for you do far?
Am 10.01.2015 02:25 schrieb "Florent Gallaire" fgallaire@gmail.com:
Thanks a lot for your work Chrisitian. Will the code be merged in the master ?
Best regards
Florent
On Tue, Jan 6, 2015 at 9:29 PM, Christian Grün christian.gruen@gmail.com wrote:
Hi Florent,
b) We motivate users to write their own JSON serializers in XQuery...
As I failed miserably in my attempt to motivate any user out there (it could be that I was too impatient, though), I just wrote a simple XQuery function for serializing XML to JSON. The JSON output is similar to the one generated by your online tools. Please be warned: The code is experimental (it ignores the famous 10% of corner cases), so any patches are welcome.
Have fun, Christian
-- FLOSS Engineer & Lawyer
-- FLOSS Engineer & Lawyer