-
Type: Improvement
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: V4.0_OS
-
Fix Version/s: V4.0_ERRATA03
-
Component/s: ABNF
-
Labels:None
-
Environment:
[Applied]
-
Proposal:
See ABNF for year:
yearMethodCallExpr = 'year' OPEN BWS commonExpr BWS CLOSE
Then see ABNF for mindatetime/maxdatetime/now:
minDateTimeMethodCallExpr = 'mindatetime(' BWS ')'
maxDateTimeMethodCallExpr = 'maxdatetime(' BWS ')'
nowMethodCallExpr = 'now(' BWS ')'
Now OPEN and CLOSE are defined as:
OPEN = "(" / "%28"
CLOSE = ")" / "%29"
Thus permitting %-encoded parentheses for most functions except mindatetime/maxdatetime/now.
If this is intentional, we should explain the rationale.
If not intentional, then we should fix the ABNF construction rules.
Applied:
https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/spec/ABNF/odata-abnf-construction-rules.txt?rev=671
https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/spec/ABNF/odata-abnf-testcases.xml?rev=671