How do I just parse a DTD file in Java, one line at the a time and without any validation