Relaxed JSON navigation

Bug #1184601 reported by Ghislain Fourny
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Committed
High
Markos Zaharioudakis

Bug Description

The JSONiq and JSONiq extension to XQuery specifications were updated to relax JSON navigation and make it more XPath-like, i.e., (1) no more casts are done, and (2) the empty sequence is returned in case (i) a string lookup is done on an array or atomic, or (ii) an integer lookup is done on an object or atomic.

This should now be implemented in Zorba.

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

Also, keys() and members() should support item* as a parameter, iterate on their input, producing empty sequences for incompatible items (atomics, arrays for keys(), atomics, objects for members()) and raising errors if there is a function. keys() should also perform a distinct-values() call on the keys produced in the case of several objects.

Changed in zorba:
importance: Undecided → High
Changed in zorba:
assignee: nobody → Markos Zaharioudakis (markos-za)
milestone: none → 3.0
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.