setDocumentLocator(locator={columnNumber=1, lineNumber=1})
startDocument()
   startDTD(name="doc", publicId="", systemId="")
      attributeDecl(eName="doc", aName="a", type="", valueDefault="", value="")
   endDTD()
   startElement(namespaceURI="", localName="doc", qName="doc", atts=[{localName="a", qName="a", uri="", type="CDATA", value="v"}])
   endElement(namespaceURI="", localName="doc", qName="doc")
endDocument()
