My Oracle Support Banner

"ODI-40945: XSD parser encountered error parsing XSD/DTD." and "Expected 'DOCTYPE'.)" Messages when Testing XML Connection in ODI (Doc ID 2366546.1)

Last updated on MARCH 09, 2018

Applies to:

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

Symptoms

In Oracle Data Integrator (ODI 12.2.1), executing a load plan that reads from an XML source results in the following error:

ODI-1228: Task Procedure-PROC_SYNCHRONIZE_XML_TO_WORK_SCHEMA-SYNCHRONIZE_XML fails on the target connection WORK_CONNECTION.
Caused By: java.sql.SQLException: ODI-40738: A SAXException was caught while reading the model saying: ODI-40945: XSD parser encountered error parsing XSD/DTD. Check validity.(cause: oracle.xml.parser.schema.XSDException: Expected 'DOCTYPE'.)
  at com.sunopsis.jdbc.driver.xml.SnpsXmlDTD.initialize(SnpsXmlDTD.java:399)
  at com.sunopsis.jdbc.driver.xml.SnpsXmlDTD.initialize(SnpsXmlDTD.java:480)
  at com.sunopsis.jdbc.driver.xml.SnpsXmlDTD.(SnpsXmlDTD.java:154)
  at com.sunopsis.jdbc.driver.xml.SnpsXmlSchema.(SnpsXmlSchema.java:560)
  ...

When the XML file connection is tested in Studio, it may return error ODI-26039.

 

The error states the XML file could not be parsed which in most cases indicates that it is malformed.

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.