On May 18, 2006, at 8:11 PM, [EMAIL PROTECTED] wrote:
you confused me even more...
I thought IM apps exchange xml messages (usually small),
why do they exchange huge XML docs? It sounds not just bad, but unnecessary...

You are misunderstanding. The entire connection itself is a well-formed XML document. What you call "xml messages" in jabber are called "stanzas", and are small XML fragments that get sent over the wire. 

When I say that the entire connection itself is a well-formed XML document, I mean that it must have a root element. Once the root element is open, that's when stanzas are sent. When the connection is closed, the root element is closed. Thus the entire connection is a well-formed XML document.


__________________
Robert Quattlebaum

Reply via email to