You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Ramya (JIRA)" <ji...@apache.org> on 2018/03/20 08:23:00 UTC
[jira] [Commented] (OLINGO-1249) OData Client API issue: Have a
means to validate if a document isv4Metadata or isServiceDoc
[ https://issues.apache.org/jira/browse/OLINGO-1249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16405950#comment-16405950 ]
Ramya commented on OLINGO-1249:
-------------------------------
2 new API's are added
1. To check if if its a V4 metadata based on the XMLMetadata provided
boolean isV4Metadata(XMLMetadata xmlMetadata)throws Exception;
2. To check if if its a service document based on the XMLMetadata provided
boolean isServiceDocument(XMLMetadata xmlMetadata);
> OData Client API issue: Have a means to validate if a document isv4Metadata or isServiceDoc
> --------------------------------------------------------------------------------------------
>
> Key: OLINGO-1249
> URL: https://issues.apache.org/jira/browse/OLINGO-1249
> Project: Olingo
> Issue Type: Bug
> Components: odata4-client
> Affects Versions: (Java) V4 4.4.0
> Reporter: Atanu
> Priority: Minor
> Attachments: Olingo V4 Client API Patch.zip
>
>
> While parsing OData V4 Metadata using Olingo V4 client API, following logs are appearing
> -------------------------------------
> Error: URI=null Line=2: cvc-elt.1: Cannot find the declaration of element 'edmx:Edmx'.
> Warning: validation was turned on but an org.xml.sax.ErrorHandler was not set, which is probably not what is desired. Parser will use a default ErrorHandler to print the first 0 errors. Please call the setErrorHandler method to fix this.
> Error: URI=null Line=2: cvc-elt.1: Cannot find the declaration of element 'edmx:Edmx'.
> Warning: validation was turned on but an org.xml.sax.ErrorHandler was not set, which is probably not what is desired. Parser will use a default ErrorHandler to print the first 0 errors. Please call the setErrorHandler method to fix this.
> Error: URI=null Line=2: cvc-elt.1: Cannot find the declaration of element 'edmx:Edmx'.
> Warning: validation was turned on but an org.xml.sax.ErrorHandler was not set, which is probably not what is desired. Parser will use a default ErrorHandler to print the first 0 errors. Please call the setErrorHandler method to fix this.
> Error: URI=null Line=2: cvc-elt.1: Cannot find the declaration of element 'edmx:Edmx'.
> Warning: validation was turned on but an org.xml.sax.ErrorHandler was not set, which is probably not what is desired. Parser will use a default ErrorHandler to print the first 0 errors. Please call the setErrorHandler method to fix this.
> Error: URI=null Line=2: cvc-elt.1: Cannot find the declaration of element 'edmx:Edmx'.
> ---------------------------------------
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)