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

Ramya commented on OLINGO-1367:
-------------------------------

This is fixed as part of the commit 
https://git-wip-us.apache.org/repos/asf?p=olingo-odata2.git;a=commit;h=ea8ea9107d9b1177a1ff87fb5ed82e5f40d4e9be

> OData V2: Issue with EdmTime
> ----------------------------
>
>                 Key: OLINGO-1367
>                 URL: https://issues.apache.org/jira/browse/OLINGO-1367
>             Project: Olingo
>          Issue Type: Bug
>            Reporter: Ramya
>            Priority: Major
>
> As per the specification 
> https://www.odata.org/documentation/odata-version-2-0/overview/ Edm Time 
> should be defined by the lexical representation for dayTimeDuration in 
> http://www.w3.org/TR/xmlschema11-2/#dayTimeDuration.
> Currently if user provides time value like P00DT18H03M08S, we get an error
>                "Caused by: 
> org.apache.olingo.odata2.api.ep.EntityProviderException: An exception of type 
> 'EdmSimpleTypeException' occurred.",
>                "\t... 107 more",
>                "Caused by: 
> org.apache.olingo.odata2.api.edm.EdmSimpleTypeException: The literal 
> 'P00DT18H03M08S' is not formatted properly.",
>                 "\tat 
> org.apache.olingo.odata2.core.edm.EdmTime.internalValueOfString(EdmTime.java:71)",



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to