Bug 2955. Workaround for lack of atomic operations in GCCE standard libraries (fall back to default use of Mutex)
StartDocument( )
StartElement( name="error" qualifiedName="error" )
Characters( text="broken xml declaration" )
EndElement( name="error" qualifiedName="error" )
Invalid( processingInstructionTarget="xml" processingInstructionData="version="1.0"" )
ERROR: XML declaration not at start of document.