My Oracle Support Banner

Parsing an XML File with DTD Reference Fails ORA-31001 (Doc ID 314250.1)

Last updated on APRIL 12, 2022

Applies to:

Oracle Database - Enterprise Edition - Version 9.2.0.3 and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.
 

Symptoms

Parsing / loading / registering an XML or XSD file that contains a DTD reference fails with errors:


ORA-31001: Invalid resource handle or path name "/OracleDTD.dtd"
ORA-06512: at "XDB.DBMS_XMLDOM", line 4180
ORA-06512: at "XDB.DBMS_XMLDOM", line 4205
ORA-06512: at line 12

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
Cause
Solution

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