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    ")
      startElement(namespaceURI="", localName="a", qName="a", atts=[])
         characters(ch="abc")
         skippedEntity(name="a3")
         characters(ch="gh")
      endElement(namespaceURI="", localName="a", qName="a")
      characters(ch="\n    ")
      startElement(namespaceURI="", localName="b", qName="b", atts=[])
         skippedEntity(name="a3")
         characters(ch="gh")
      endElement(namespaceURI="", localName="b", qName="b")
      characters(ch="\n    ")
      startElement(namespaceURI="", localName="c", qName="c", atts=[])
         characters(ch="abc")
         skippedEntity(name="a3")
      endElement(namespaceURI="", localName="c", qName="c")
      characters(ch="\n    ")
      startElement(namespaceURI="", localName="d", qName="d", atts=[])
         skippedEntity(name="a3")
      endElement(namespaceURI="", localName="d", qName="d")
      characters(ch="\n    ")
      startElement(namespaceURI="", localName="e", qName="e", atts=[])
         skippedEntity(name="a3")
         characters(ch="foo")
         skippedEntity(name="a3")
         characters(ch="foo")
      endElement(namespaceURI="", localName="e", qName="e")
      characters(ch="\n    ")
      startElement(namespaceURI="", localName="e", qName="e", atts=[])
         characters(ch="a")
         skippedEntity(name="a3")
         characters(ch="bfooc")
         skippedEntity(name="a3")
         characters(ch="dfooe")
      endElement(namespaceURI="", localName="e", qName="e")
      characters(ch="\n")
   endElement(namespaceURI="", localName="foo", qName="foo")
endDocument()
