Multiple XMLs in one message

Hey,

don’t know if this is know issue, but I have found something like this: I still have problem with multiple log in / log out problems with same user in different tabs. In 1 application it doesn’t work in other application it works. So I’ve check xmls which are receiving from Jabber and found problem

When same user logged in in different tab, there is send message:

<stream:error xmlns:stream=“http://etherx.jabber.org/streams”></stream:error></stream:stream>

in application where relogin works, only this is received when user in first tab is received. In app where relogin does not work, 2 different XMLs are received as one and function XMPPConnection.parseDataReceived does not handle 2nd XML, just 1st par (stream:error → conflict)

XMPPConnection parseDataReceived rawXML: <stream:error xmlns:stream=“http://etherx.jabber.org/streams”></stream:error></stream:stream><?x ml version='1.0' encoding='UTF-8'?><stream:stream xmlns:stream=“http://etherx.jabber.org/streams” xmlns=“jabber:client” from=“imtest.iblsoft.com” id=“355ae7ae” xml:lang=“en” version=“1.0”>stream:featuresPLAIN</mechanis ms>zlib</stream:features>

Don’t know if this is problem on Jabber side, or just XIFF didn’t count with such XMLs (or packets), but I think this must be handled somehow. Does anyone know, if there is already fix for this?

Thanks you

I’ve checked this with latest nightly build (from 2nd November), and same issue occurs there