olingo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramesh Reddy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OLINGO-1046) Whitespaces in functions not allowed
Date Wed, 19 Apr 2017 19:00:44 GMT

    [ 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)

Mime
View raw message