[
https://issues.apache.org/jira/browse/OLINGO-861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15930097#comment-15930097
]
Ramesh Reddy commented on OLINGO-861:
-------------------------------------
It is *not* nested looped it is *recursive* looping that is is the issue. Given
the above example, I can not load/validate Message_v1.xml without
RedfishExtensions_v1.xml, and I can not load RedfishExtensions_v1.xml without
Settings_v1.xml, then I can not load Settings_v1.xml without Message_V1.xml.
Now the cycle starts again. I can not just ignore the references then the
loading schema will not validate. As I mentioned, if I delay loading of one
then all the others delayed, essentially a dead lock, so I do not consider this
as a bug in Olingo code.
> 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)