public class JPParserTest {

	public static void main (String argv[]) {
		//first : command line correct?
		if (argv.length != 1) {
			System.err.println("Usage : java JPParserTest XML_FILE");
			System.exit(1);
		}
		JPParser p =new JPParser();
		if (p.parse(argv[0]))
			System.out.println("This file is not Valid according to the DTD");
		else
			System.out.println("This File Is Valid according to the DTD");
			
	}
}

				
