$json illegal in JSONiq

Bug #1205118 reported by Paul J. Lucas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Committed
High
Nicolae Brinza

Bug Description

Given:

    jsoniq version "1.0";

    let $json := [ "\u0041" ]
    return <a>{ $json(1) }</a>

one gets:

</tmp/x.xq>:3,6: static error [err:XPST0003]: invalid expression: syntax error, unexpected "json"; raised at /Users/pjl/src/flwor/zorba/repo/bug-1200090/zorba/src/compiler/api/compiler_api.cpp:253

Revision history for this message
Ghislain Fourny (gislenius) wrote :

This is a known issue and is part of the bigger plan of bringing the Zorba parsers back in sync with the EBNFs from github.

Changed in zorba:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.