setDocumentLocator(locator={columnNumber=1, lineNumber=1})
startDocument()
   startDTD(name="doc", publicId="", systemId="")
   endDTD()
   startElement(namespaceURI="", localName="doc", qName="doc", atts=[])
   endElement(namespaceURI="", localName="doc", qName="doc")
   processingInstruction(target="pi", data="data")
endDocument()
