from narval.gui.XmlEditor import parse_dtd_file import sys for f in sys.argv[1:]: print 'testing',f try: parse_dtd_file(f) except Exception,e: print e