actually i have a java program that reads the data from a specific XML file.
now i want to create a jar file for that program and also include the corresponding DTD with it, so that any1 who uses my JAR can get its XML checked against that DTD.
Pls help, thanks in advance !
You will need to create a Resolver class which resolves public or system IDs for your DTD(s) to the copy of the DTD you package in your jar.