[ https://issues.apache.org/jira/browse/OLINGO-861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15929989#comment-15929989 ]
rafiqkattangere commented on OLINGO-861: ---------------------------------------- if nested dependencies are there shouldnt the MetadataParser not load the ones which are already loaded? I see you have that check to see if the Namespace is already loaded you continue the loading. Similar check needs to be there at the service level. But either way getting into infinite loop is a bug! > 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)