[ https://issues.apache.org/jira/browse/OLINGO-861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15143090#comment-15143090 ]
VIJAYASIMHA R NAGA edited comment on OLINGO-861 at 2/11/16 5:32 PM: -------------------------------------------------------------------- Hi Ramesh, I think the method "buildEdmProvider(XMLEventReader reader)" in MetaDataParser.java should be made public so that it is accessible to an external custom ReferenceResolver to build an instance of SchemaBasedEdmProvider reflecting the content of the reference URI was (Author: nvsreddy): Hi Ramesh, I think the method "buildEdmProvider(XMLEventReader reader)" in MetaDataParser.java should be made public so that an external custom ReferenceResolver may use that to return an instance of SchemaBasedEdmProvider reflecting the content of reference URI > 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, 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.4#6332)