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