[jdev] Re: Question about expat as XML parser for Jabber client

Igor Urdenko ingvarwolf at yahoo.com
Mon Dec 13 17:42:41 CST 2004

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,

More information about the JDev mailing list