'ODI-40799: Root element ... doesn't match the DTD' Signalled From ODI 12.1.2 XML Driver at Test Connection Time (Doc ID 1945540.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Data Integrator - Version 12.1.2.0.0 and later
Information in this document applies to any platform.

Symptoms

When testing the connection to the XSD and XML file using the following URL using the Oracle Data Integrator (ODI) 12.1.2 XML Driver:

jdbc:snps:xml?f=....createEvent.xml&d=....event-contactmaster.xsd&s=createEvents

The following exception is signalled:

oracle.odi.runtime.agent.invocation.InvocationException: class java.sql.SQLException
org.xml.sax.SAXException: ODI-40799: Root element MyElement doesn't match the DTD
  at oracle.odi.runtime.agent.invocation.RemoteRuntimeAgentInvoker.invoke(RemoteRuntimeAgentInvoker.java:330)
  at oracle.odi.runtime.agent.invocation.RemoteRuntimeAgentInvoker.invokeTestDataServer(RemoteRuntimeAgentInvoker.java:890)
  at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.remoteTestConn(SnpsDialogTestConnet.java:687)
  at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.access$1200(SnpsDialogTestConnet.java:50)
  at com.sunopsis.graphical.dialog.SnpsDialogTestConnet$6.doInBackground(SnpsDialogTestConnet.java:664)
  at com.sunopsis.graphical.dialog.SnpsDialogTestConnet$6.doInBackground(SnpsDialogTestConnet.java:657)
  at oracle.odi.ui.framework.AbsUIRunnableTask.run(AbsUIRunnableTask.java:258)
  at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:920)
  at java.lang.Thread.run(Thread.java:744)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms