Bug. XMPPConnection doesn't parse <stream:error /> and breaks handling all data recieved after

for exaple this data cannot be parsed.

stream:errorReplaced by new connection</stream:error></stream:stream>

And once recieved this data breaks handling all tha data reciedved after.

see protected function parseDataReceived()

to be correct it doesn’t handle stream closing tag and data is considered as invalid xml document

stream:errorReplaced by new connection</stream:error>**</stream:stream> **