setDocumentLocator(locator={columnNumber=1, lineNumber=1})
startDocument()
   startDTD(name="doc", publicId="", systemId="")
      attributeDecl(eName="e", aName="a1", type="", valueDefault="", value="")
      attributeDecl(eName="e", aName="a2", type="", valueDefault="", value="")
      attributeDecl(eName="e", aName="a3", type="", valueDefault="", value="")
   endDTD()
   startElement(namespaceURI="", localName="doc", qName="doc", atts=[])
      characters(ch="\r\n")
      startElement(namespaceURI="", localName="e", qName="e", atts=[{localName="a1", qName="a1", uri="", type="CDATA", value="v1"}, {localName="a2", qName="a2", uri="", type="CDATA", value="v2"}, {localName="a3", qName="a3", uri="", type="CDATA", value="v3"}])
      endElement(namespaceURI="", localName="e", qName="e")
      characters(ch="\r\n")
      startElement(namespaceURI="", localName="e", qName="e", atts=[{localName="a1", qName="a1", uri="", type="CDATA", value="w1"}, {localName="a2", qName="a2", uri="", type="CDATA", value="v2"}])
      endElement(namespaceURI="", localName="e", qName="e")
      characters(ch="\r\n")
      startElement(namespaceURI="", localName="e", qName="e", atts=[{localName="a1", qName="a1", uri="", type="CDATA", value="v1"}, {localName="a2", qName="a2", uri="", type="CDATA", value="w2"}, {localName="a3", qName="a3", uri="", type="CDATA", value="v3"}])
      endElement(namespaceURI="", localName="e", qName="e")
      characters(ch="\r\n")
   endElement(namespaceURI="", localName="doc", qName="doc")
endDocument()
