use '.' for JSONiq navigation
Bug #1126709 reported by
Matthias Brantner
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.
To post a comment you must log in.
This is implemented in the trunk in the JSONiq parser.