Quantcast
Channel: SCN : Popular Discussions - SAP NetWeaver Gateway Developer Center
Viewing all articles
Browse latest Browse all 1657

Upload a .DTD file to validate XML file using if_ixml_parser->parse() method

$
0
0

Hi experts,

 

My reuirement is -> Perform DTD validation of XML file using an SAP report.

 

1. User provides me XML file and DTD file from Presentation Server

2. I upload the XML file

3. I Parse the XML file >>>>> "BUT.. here I need to use user given file for DTD validation."

    Currently I get error "unable to retrieve external entity 'xxxxx.dtd' "

 

I tried putting the DTD file on application server at destination (as per some thread on SCN):

 

/usr/sap/<SAPSID>/DVEBMGS$$/j2ee/cluster/server0

 

But still I get the same error.

 

NOTE - For Parsing XML file I use IF_IXML_PARSER interface PARSE() method.

 

Please help!!

Rewards if helpful.. very urgent req from client.

 

Thanks to all in advance,

Ninad


Viewing all articles
Browse latest Browse all 1657

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>