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="def", value="foo")
   endDTD()
   startElement(namespaceURI="", localName="foo", qName="foo", atts=[])
      characters(ch="\n    ")
      comment(ch=" check that the call to skippedEntity() is inserted in the right place ")
      characters(ch="\n    ")
      startElement(namespaceURI="", localName="a", qName="a", atts=[])
         characters(ch="abc")
         skippedEntity(name="undef")
         characters(ch="gh")
      endElement(namespaceURI="", localName="a", qName="a")
      characters(ch="\n    ")
      startElement(namespaceURI="", localName="b", qName="b", atts=[])
         skippedEntity(name="undef")
         characters(ch="gh")
      endElement(namespaceURI="", localName="b", qName="b")
      characters(ch="\n    ")
      startElement(namespaceURI="", localName="c", qName="c", atts=[])
         characters(ch="abc")
         skippedEntity(name="undef")
      endElement(namespaceURI="", localName="c", qName="c")
      characters(ch="\n    ")
      startElement(namespaceURI="", localName="d", qName="d", atts=[])
         skippedEntity(name="undef")
      endElement(namespaceURI="", localName="d", qName="d")
      characters(ch="\n    ")
      startElement(namespaceURI="", localName="e", qName="e", atts=[])
         skippedEntity(name="undef")
         characters(ch="foo")
         skippedEntity(name="undef")
         characters(ch="foo")
      endElement(namespaceURI="", localName="e", qName="e")
      characters(ch="\n    ")
      startElement(namespaceURI="", localName="e", qName="e", atts=[])
         characters(ch="a")
         skippedEntity(name="undef")
         characters(ch="bfooc")
         skippedEntity(name="undef")
         characters(ch="dfooe")
      endElement(namespaceURI="", localName="e", qName="e")
      characters(ch="\n")
   endElement(namespaceURI="", localName="foo", qName="foo")
endDocument()
