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

rafiqkattangere edited comment on OLINGO-861 at 3/17/17 4:11 AM:
-----------------------------------------------------------------

copy metadata files into c:\temp\ thanks :)

The main issue where I see stackoverflow is from referenceLoading recursively!

The annotation within annotation doesn't really generate a stack-overflow. It 
caused an XML Exception. Technically its not annotation within annotation, its 
Annotation within a Record is causing the XML parser to throw exception. I 
think the parser needs a fix. But this issue is low risk as compared to 
recursive loop causing stack-overflow! 

Note: In the metadata files I have attached here, I have got rid of those 
annotation within a record. So should not see that exception atall, only the 
stackoverflow should be reproduced.



was (Author: rafiqkattangere):
copy metadata files into c:\temp\ thanks :)



> 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)

Reply via email to