Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
(Java) V4 4.8.0
-
None
Description
According to odata-csdl-xml v4.01 specification chapter 4.1 a edmx:Reference can include multiple edmx:Include.
Metadata document:
<edmx:Reference Uri="/sap/opu/odata/IWFND/CATALOGSERVICE;v=2/Vocabularies(TechnicalName='%2FIWBEP%2FVOC_CAPABILITIES',Version='0001',SAP__Origin='LOCAL')/$value">
<edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
<edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="SAP__capabilities"/>
</edmx:Reference>
In this scenario aliasToNamespaceInfo attribute of the EdmProviderImpl object only contains the alias "SAP__capabilities", but not "Capabilities".
In consequence it is not possible to e.g. read annotation groups using alias "Capabilities".