[jdev] parsing xml (xmpp) with ruby

Andreas Monitzer jdev at monitzer.com
Mon Sep 29 11:25:53 CDT 2008


On Sep 29, 2008, at 17:44, Eric Will wrote:

> My question is this: how often could this happen, TODAY? In all the
> years I wrote IRC programs, I can't recall EVER getting a partial-
> line, and in my two years of messing with XMPP, I can't recall EVER
> getting a broken stanza.

Don't forget that stanzas don't have a size limit, unlike IRC lines.  
Especially a roster (for example stpeter's) might be hundreds of kB in  
size, same goes for a bob (http://www.xmpp.org/extensions/ 
xep-0231.html), that's too much for a single TCP packet.


andy




More information about the JDev mailing list