Bug 2955. Workaround for lack of atomic operations in GCCE standard libraries (fall back to default use of Mutex)
setDocumentLocator(locator={columnNumber=1, lineNumber=1})
startDocument()
startDTD(name="doc", publicId="", systemId="")
endDTD()
startElement(namespaceURI="", localName="doc", qName="doc", atts=[])
characters(ch="í €")
endElement(namespaceURI="", localName="doc", qName="doc")
endDocument()