setDocumentLocator(locator={columnNumber=1, lineNumber=1})
startDocument()
   startElement(namespaceURI="", localName="doc", qName="doc", atts=[])
      characters(ch="\r\n")
      startElement(namespaceURI="", localName="a", qName="a", atts=[])
         startCDATA()
            characters(ch="xyz]")
         endCDATA()
      endElement(namespaceURI="", localName="a", qName="a")
      characters(ch="\r\n")
      startCDATA()
         characters(ch="")
      endCDATA()
      fatalError(exception={columnNumber=16, lineNumber=3, publicId="", systemId="", message="tag mismatch"})
