private void parseAndRecord(InputStream inputSource, SaxEventRecorder recorder)
     throws JoranException {
   recorder.setContext(context);
   recorder.recordEvents(inputSource);
 }