setDocumentLocator(locator={columnNumber=1, lineNumber=1})
startDocument()
   startDTD(name="doc", publicId="", systemId="")
      internatlEntityDecl(name="e1", value="&e2;")
      internatlEntityDecl(name="e2", value="v")
   endDTD()
   startElement(namespaceURI="", localName="doc", qName="doc", atts=[])
      characters(ch="v")
   endElement(namespaceURI="", localName="doc", qName="doc")
endDocument()
