package simgrid.msg;\r
\r
import java.io.InputStream;\r
+import java.io.FileNotFoundException;\r
import org.xml.sax.EntityResolver;\r
import org.xml.sax.InputSource;\r
import org.xml.sax.SAXException;\r
/* try to get the DTD from the classpath */\r
InputStream in = getClass().getResourceAsStream("/surfxml.dtd"); \r
\r
- if(null == in) \r
- /* try to get the DTD from the surf dir in the jar */\r
- in = getClass().getResourceAsStream("/surf/surfxml.dtd"); \r
if(null == in) \r
/* try to get the DTD from the directory Simgrid */\r
in = getClass().getResourceAsStream("/Simgrid/surfxml.dtd"); \r