private XMLEvent nextEvent ( String location ) throws Exception { XMLEvent event = reader . nextEvent ( ) ; // System.out.println(location + event.toString().replace('\n', ' ') + " " + event.getClass().getSimpleName()); return event ; }
provide for debugging