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/19 14:58:11 UTC

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

Christian Holzer created OLINGO-581:
---------------------------------------

             Summary: 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


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)