[
https://issues.apache.org/jira/browse/OLINGO-1046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15986624#comment-15986624
]
Christian Amend commented on OLINGO-1046:
-----------------------------------------
[~rareddy] the patch looks good. Very neat and should releax the parsing just
fine. +1 for merging and thanks a lot for taking care of this :)
> Whitespaces in functions not allowed
> ------------------------------------
>
> Key: OLINGO-1046
> URL: https://issues.apache.org/jira/browse/OLINGO-1046
> Project: Olingo
> Issue Type: Bug
> Components: odata4-server
> Affects Versions: (Java) V4 4.3.0
> Reporter: Frederik Zimmer
> Assignee: Ramesh Reddy
>
> Whitespaces before/after comma/parenthesis in functions are allowed by the
> ABNF but Olingo is unable to parse them.
> This would result in an error (inserted space after comma in Testcase of
> TestFullResourcePath):
> startswith(PropertyCompAllPrim/PropertyString, 'Wall')
> ABNF example:
> startsWithMethodCallExpr = 'startswith' OPEN BWS commonExpr BWS COMMA BWS
> commonExpr BWS CLOSE
> BWS = *( SP / HTAB / "%20" / "%09" ) ; "bad" whitespace
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)