use '.' for JSONiq navigation

Bug #1126709 reported by Matthias Brantner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Committed
Medium
Nicolae Brinza

Bug Description

In order to make JSONiq more approachable for the JavaScript community, we should use the '.' character for object navigation. Because this is a conflict with NCNames, we have to add an option to enable/disable this feature. If it is disabled, '.'s will be used as in the current state (i.e. be XQuery compliant). If enabled, the '.' should be used for object navigation. However, we will still keep the ("foo") object navigation. For example, this is useful if the field to select/navigate contains spaces.

Revision history for this message
Nicolae Brinza (nbrinza) wrote :

This is implemented in the trunk in the JSONiq parser.

Changed in zorba:
status: New → Incomplete
status: Incomplete → 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.