You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Ramesh Reddy (JIRA)" <ji...@apache.org> on 2017/04/19 19:00:44 UTC
[jira] [Commented] (OLINGO-1046) Whitespaces in functions not
allowed
[ https://issues.apache.org/jira/browse/OLINGO-1046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15975298#comment-15975298 ]
Ramesh Reddy commented on OLINGO-1046:
--------------------------------------
I think I agree with [~frederik.zimmer] on the comment, it seems OData TC probably used same definitions of RWS, OWS, BWS from this [RFC7230|https://tools.ietf.org/html/rfc7230] which states the intent correctly. I will see if I can take stab at the changes required for 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
>
> 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)