on 12-18-2007 4:27 AM
Hi,
I would like to know how to turn off dtd validation in a message map.
The source message type is based on dtd. When testing, I get the following error
java.io.IOException: Failed to load resource from the context classloader of the current thread! Loading from classloader was caused by: java.io.FileNotFoundException: D:\usr\sap\XYZ\DVEBMGS01\j2ee\cluster\server0\abc.dtd (The system cannot find the file specified)
I understand that the map requires the dtd to be present in the application folder. But, can I change some setting not to look up this file.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE MessageContainer SYSTEM "abc.dtd">
Hi Vijay,
I am facing the same problem. Please let me know how did you solved the issue.
Thanks!!
Abhijeet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijay ,
normally XI does not validate against dtd.
How did you achieve this?
Regards Mario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry Arvind. Not able to understand your question.
The problem we are facing is, when the input xml file contains DocType declaration with reference to a dtd, we get an error stating the dtd is not found in the j2ee application folder.
It works fine if the dtd is saved in the location. Also, it works fine if the DocType declaration is removed from the xml file. However, we are exploring an option where declaration is used but dtd is not available.
Is there any way to achieve this?
Thanks!
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.