/**
* @param args the command line arguments
*/
public static void main(String[] args) {
String file = args[0];
NunniJXMLParserFSM parser = new NunniJXMLParserFSM( null );
System.out.println( "===============================" );
System.out.println( "file: " + file );
try {
// This is all the code we need to parse
// a document with our DocHandler.
BufferedReader fr = new BufferedReader( new FileReader( file ) );
DocHandler handler = new DocHandler();
parser.parse( fr, handler );
}
catch( IOException e ) {
e.printStackTrace();
}
catch( LogicError e ) {