[ https://issues.apache.org/jira/browse/OLINGO-1249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16405951#comment-16405951 ]
Ramya commented on OLINGO-1249: ------------------------------- This is part of the commit https://git-wip-us.apache.org/repos/asf?p=olingo-odata4.git;a=commit;h=eea324d5a67ac346695937dd49e4a9c775cfb501 > 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)