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