Armin, There are a number of problems with your code. The immediate ones that I see are:
1) It's an EntityResolver, not an EntityManager and it's an interface so you would "implement" it, not "extend" it. 2) The method is "resolveEntity" and it returns an "InputSource". I think that you mean to write "InputSource" everywhere that you write "InputStream". 3) The method also should declare that it throws IOException and SAXException. 4) "file:/c:/dtd/dtd1.dtd" is the wrong way to use the "file" protocol. Try "file:///c:/dtd/dtd1.dtd" instead. Make the appropriate changes and let me know if it works for you. -- Andy Clark * IBM, JTC - Silicon Valley * [EMAIL PROTECTED]