You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Christian Holzer (JIRA)" <ji...@apache.org> on 2015/02/20 14:04:12 UTC

[jira] [Commented] (OLINGO-581) Uri parsing of Edm.Duration literals

    [ https://issues.apache.org/jira/browse/OLINGO-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14328888#comment-14328888 ] 

Christian Holzer commented on OLINGO-581:
-----------------------------------------

I made a fix for this issue


> Uri parsing of Edm.Duration literals
> ------------------------------------
>
>                 Key: OLINGO-581
>                 URL: https://issues.apache.org/jira/browse/OLINGO-581
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata4-server
>    Affects Versions: (Java) V4 4.0.0-beta-03
>            Reporter: Christian Holzer
>            Priority: Minor
>         Attachments: Olingo581.diff
>
>
> The URI Parser throws a "Malformed URI exception" if the URI contains an Edm.Duration literal in the following form:
> duration'P1DT'
> The OData ABNF says that after a T is anything optional.
> duration      = "duration" SQUOTE durationValue SQUOTE
> durationValue = [ sign ] "P" [ 1*DIGIT "D" ] [ "T" [ 1*DIGIT "H" ] [ 1*DIGIT "M" ] [ 1*DIGIT [ "." 1*DIGIT ] "S" ] ]
> Kind regards
> Christian



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)