I think it is just the way Expat works. When you parse a buffer it expects that this will be well-formed XML. So, when it receives just </ stream:stream> (case 1) or opening <stream:stream:> (case 2) from the Jabber Server it respomce with error because there is no opening <stream:stream> tag in case 1 and closing </ stream:stream> in case 2 Now I am looking for the ways to solve that 2 cases' problem. Thank you, Igor
_______________________________________________ jdev mailing list [EMAIL PROTECTED] http://mail.jabber.org/mailman/listinfo/jdev