code: public void startDocument() throws SAXException {
          traceBuilder.delete(0, traceBuilder.length());
          trace("startDocument");
          currentDocument = documentBuilder.newDocument();
          currentElement = null;
      }
docs: ContentHandler method
  @throws SAXException