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-861) MetaDataParser unable to build EdmProvider from Edmx files with references
Date Thu, 23 Mar 2017 14:43:41 GMT

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

Ramesh Reddy commented on OLINGO-861:
-------------------------------------

Thanks for the reference to spec. Can't really say that makes sense for me in terms strict
resolutions of schema elements. 

In your case, you can return null for anything other than what in your top document's references/and
*repeated* references to simulate the fix and see if that succeeds.

> MetaDataParser unable to build EdmProvider from Edmx files with references
> --------------------------------------------------------------------------
>
>                 Key: OLINGO-861
>                 URL: https://issues.apache.org/jira/browse/OLINGO-861
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata4-server
>    Affects Versions: (Java) V4 4.1.0
>            Reporter: VIJAYASIMHA R NAGA
>            Assignee: Ramesh Reddy
>             Fix For: (Java) V4 4.2.0
>
>         Attachments: MyODataDemoService.zip, nestedreference.zip, ServiceRoot.xml
>
>
> Unable to build an EdmProvider from Edmx files with references to external name spaces,
(Method "readReference" in MetaDataParser.java from server-core-ext library has a TODO remark
to deal with this)
>  Ex: Having the below reference included in an Edmx file <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/cs01/vocabularies/Org.OData.Core.V1.xml">
<edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/> </edmx:Reference>



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message