public class XMLTest
extends java.lang.Object
Class XMLTest
is a simple unit test for the XML utilities
class. It may be called in two ways. If called with only one argument
representing an XML document URI, then that XML document is parsed and
echoed back to standard output. The main routine may also be called with
three arguments: a DTD URI, a start element name for the XML document,
and the URI of the XML document. This test code will parse the document,
validate it against the DTD, and then output it to the standard output.