That is the problem I dont have the DTD in my local system and url from i can download the DTD is not working.
That is why i just want to skip the DTD validation.
Actually I am writing a program which parses a
JBoss Server login-config.xml file installed on any platform.
So it possible that the server may not be connected to Internet or may not have the DTD locally, at that time when I try to parse the XML file then i am getting the above exception.