Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

DTD url in XMlL files

Oracle ManiacNov 10 2017 — edited Jan 4 2018

The first three lines of my xml files have a DTD path which gives me an error during load. I am loading the XML using Sqlldr typically using the below

code:

LOAD DATA 

INFILE 'filelist.dat' 

APPEND INTO TABLE table_xml 

   filename CHAR(128), 

   xmldata  LOBFILE(filename) TERMINATED BY EOF, 

   sno      CHAR(10) "TABLE_XML_SEQ.NEXTVAL", 

   loaddate SYSDATE 

<?xml version="1.0" encoding="iso-8859-1"?>

<!DOCTYPE ichicsr SYSTEM "http://eudravigilance.ema.europa.eu/dtd/icsr21XML.dtd">

<ichicsr lang="en">

Error:

Record 22: Rejected - Error on table TABLE_XML.

ORA-31020: The operation is not allowed, Reason: For security reasons, ftp and http access over XDB repository is not allowed on server side

If I remove the 2nd line, the load is fine. Any suggestion to deal with this without removing the second line

.i.e. <!DOCTYPE ichicsr SYSTEM "http://eudravigilance.ema.europa.eu/dtd/icsr21XML.dtd">

This post has been answered by Paulzip on Nov 14 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 1 2018
Added on Nov 10 2017
4 comments
1,541 views