setDocumentLocator(locator={columnNumber=1, lineNumber=1})
startDocument()
   processingInstruction(target="xml", data="version='1.0' encoding='UTF-8' standalone='no'")
   startDTD(name="foo", publicId="", systemId="foo.dtd")
      internatlEntityDecl(name="a1", value="&a2;")
      internatlEntityDecl(name="a2", value="&a3;")
      internatlEntityDecl(name="def", value="foo")
   endDTD()
   startElement(namespaceURI="", localName="foo", qName="foo", atts=[])
      characters(ch="\n    ")
      skippedEntity(name="a3")
      startElement(namespaceURI="", localName="a", qName="a", atts=[{localName="attr", qName="attr", uri="", type="CDATA", value="foobarfooding"}])
      endElement(namespaceURI="", localName="a", qName="a")
      characters(ch="\n")
   endElement(namespaceURI="", localName="foo", qName="foo")
endDocument()
