code: void documentStart() throws SAXException{
          encoding = null;
          standalone = null;
          prefixLength = 0;
          value.setLength(0);
          valueStarted = false;
          entityValue = false;
  
          elem = elements[0];
          elemLock = elemDepth = 0;
          nsFree = 4;
  
          systemID = null;
          publicID = null;
  
          entities.clear();
          entityStack.clear();
  
          paramEntities.clear();
          paramEntityStack.clear();
          peReferenceOutsideMarkup = false;
  
          dtd = null;
          _dtd.reset();
          dtdElement = null;
          attributeList = null;
          dtdAttribute = null;
  
          if(contentHandler!=null){
              contentHandler.setDocumentLocator(this);
              contentHandler.startDocument();
          }
      }
docs: /*-------------------------------------------------[ Document ]---------------------------------------------------