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