olingo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rafiqkattangere (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OLINGO-861) MetaDataParser unable to build EdmProvider from Edmx files with references
Date Wed, 05 Apr 2017 01:44:41 GMT

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

rafiqkattangere commented on OLINGO-861:

I didn't tried returning null, but modified MetaDataPraser to load only the serviceroot references
and it worked. But I know for sure, this will cause issues with other references that are
not loaded, once we have providers for most of the schema. So I am not confident of using
this library at this point in time.
But sooner or later we need a fix for this issue in longer run if you want Olingo to support
redfish which is growing exponentially! Can you consider redesigning your recursive logic
in future. 

And please do let me know if you fixed the minor exception that is seen during XMLPrasing.

> 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

View raw message