We use XI message mappings to transform xml messages from 1 format to another. Now the xml that we receive from our trade partner has a reference tot a DTD. Eg.
<!DOCTYPE cXML SYSTEM "cXML_NO_ATTR.dtd">
Now when use eg. the mapping test tool, then we get an error that he doesn't find the DTD.
java.io.IOException: Failed to load resource from the context classloader of the current thread! Loading from classloader was caused by: java.io.FileNotFoundException: C:\usr\sap\X01\DVEBMGS01\j2ee\cluster\server0\cXML_NO_ATTR.dtd (The system cannot find the file specified)
For the moment we copied the DTD to the above mentionned path and now it seems to work.
But does someone now how we can turn off this validation?
(Or specify which DTD ourselves?)