I have an xml file ('videofaq.xml') that defines a DTD using the following DOCTYPE
<!DOCTYPE video-faq SYSTEM "videofaq.dtd">
I am loading the file from the classpath (from a JAR actually) at Servlet initialization time using:
getClass().getResourceAsStream("videofaq.xml")
The XML is found correctly, but for the DTD in the same package, Xerces gives me a FileNotFoundException, and displays the path to the Tomcat startup script with "videofaq.dtd" appended to the end. What hints, if any, can I pass on to Xerces to make it load the DTD properly?