-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: V4.01_OS
-
Fix Version/s: V4.01_ERRATA01
-
Component/s: ABNF
-
Labels:None
-
Proposal:
-
Resolution:
4.01 added the ability to index into ordered collections from the end, using negative values for index segments, see 11.2.6.8 Requesting an Individual Member of an Ordered Collection.
The specification does not explicitly forbid this indexing after a type-cast segment, but it is not allowed by rule complexColPath. This seems to be an accident as it is also not mentioned in ODATA-820.
Trivial: some optional path segments have empty alternatives, making them "doubly optional". This complicates automatic processing of the ABNF and is bad style.