[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (ODATA-1283) $search: ABNF comment is more restrictive than prose text
Ralf Handl created ODATA-1283:
---------------------------------
Summary: $search: ABNF comment is more restrictive than prose text
Key: ODATA-1283
URL: https://issues.oasis-open.org/browse/ODATA-1283
Project: OASIS Open Data Protocol (OData) TC
Issue Type: Improvement
Components: ABNF
Affects Versions: V4.01_CS01
Environment: Proposed
Reporter: Ralf Handl
Fix For: V4.01_CS02
[ABNF line 347|https://github.com/oasis-tcs/odata-abnf/blob/master/abnf/odata-abnf-construction-rules.txt#L347] states
{code:java}
; The words AND, OR, and NOT are not a valid searchWord.
{code}
This is more restrictive than the corresponding prose text (bold parts for later reference below):
{quote}The search expression can contain any number of terms, phrases, or group expressions, along with the case-sensitive keywordsÂNOT,ÂAND, andÂOR, evaluated in that order.
Expressions *prefaced withÂNOT*Âevaluate to true if the expression is not matched, otherwise false.
Two expressions not enclosed in quotes and separated by a space are equivalent to the same two expressions *separated by theÂAND*Âkeyword. Such expressions evaluate toÂtrueÂif both of the expressions evaluate to true, otherwise false.
Expressions *separated by anÂOR*Âevaluate to true if either of the expressions evaluate to true, otherwise false.
{quote}
Â
The prose text would allow using the words AND and OR as the first search word in an expression because the operators *separate* search expressions, and NOT as the only search word because the operator *prefaces* an expression.
Â
--
This message was sent by Atlassian JIRA
(v7.7.2#77003)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]