Hi,<br><br>Given the following query stanza:<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"><span style="font-weight: bold;"><iq id='75'
</span><br><span style="font-weight: bold;"> to='<a href="http://conference.jabber.org">conference.jabber.org</a>'</span><br><span style="font-weight: bold;"> type='get'</span><br><span style="font-weight: bold;"> xml:lang='de-DE'>
</span><br><span style="font-weight: bold;"> <query xmlns='<a href="http://jabber.org/protocol/disco#items'/">http://jabber.org/protocol/disco#items'/</a>></span><br><span style="font-weight: bold;"></iq></span>
</blockquote><div><br>The server responds to this stanza with a large stanza, with hundreds of items. If XMPP gets more common MUCs will have a lot more rooms. So why don't split large stanzas in smaller chunks. Like in the following example:
<br></div><span><br></span><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex; font-weight: bold;" class="gmail_quote"><span><iq from='<a href="http://conference.jabber.org">
conference.jabber.org</a>'</span><br><span> to='<a href="http://tobiasfar@jabber.org/home">tobiasfar@jabber.org/home</a>'</span><br><span> id='75'</span><br><span> type='result'</span><br><span> part='1'</span>
<br><span> part-count='2'></span><br><span> <query xmlns='<a href="http://jabber.org/protocol/disco#items'">http://jabber.org/protocol/disco#items'</a>></span><br><span> <item jid='<a href="mailto:comitedesabios@conference.jabber.org">
comitedesabios@conference.jabber.org</a>'</span><br><span> name='comitedesabios (0)'/></span><br><span> <item jid='<a href="mailto:asilo@conference.jabber.org">asilo@conference.jabber.org</a>'</span><br><span>
name='asilo (0)'/></span><br><span> <item jid='<a href="mailto:blondie@conference.jabber.org">blondie@conference.jabber.org</a>'</span><br><span> name='blondie (1)'/></span><br><span> <item jid='<a href="mailto:esperanto@conference.jabber.org">
esperanto@conference.jabber.org</a>'</span><br><span> name='Babilu esperante (4)'/></span><br><span> <item jid='<a href="mailto:hawaii@conference.jabber.org">hawaii@conference.jabber.org</a>'</span><br><span> name='Hawaii (0)'/>
</span><br><span> </query></span><br><span></iq></span><br><span></span><br>
<iq from='<a href="http://conference.jabber.org">conference.jabber.org</a>'<br>
to='<a href="http://tobiasfar@jabber.org/home">tobiasfar@jabber.org/home</a>'<br>
id='75'<br>
type='result'<br>
part='2'<br>
part-count='2'><br> <query xmlns='<a href="http://jabber.org/protocol/disco#items'">http://jabber.org/protocol/disco#items'</a>><br> <item jid='<a href="mailto:kanava@conference.jabber.org">kanava@conference.jabber.org
</a>'<br>
name='kanava (0)'/><br>
<item jid='<a href="mailto:profit@conference.jabber.org">profit@conference.jabber.org</a>'<br>
name='Profit (3)'/><br>
<item jid='!use@<a href="http://conference.jabber.org">conference.jabber.org</a>'<br>
name='!use (0)'/><br>
<item jid='<a href="mailto:directnet@conference.jabber.org">directnet@conference.jabber.org</a>'<br>
name='Directnet (1)'/><br>
<item jid='<a href="mailto:stevegt-ctl@conference.jabber.org">stevegt-ctl@conference.jabber.org</a>'<br>
name='stevegt-ctl (1)'/><br>
<item jid='<a href="mailto:asplinux@conference.jabber.org">asplinux@conference.jabber.org</a>'<br>
name='asplinux'/><br>
<item jid='<a href="mailto:international@conference.jabber.org">international@conference.jabber.org</a>'<br>
name='international (0)'/><br> </query><br></iq></blockquote><div><br><br>This will result in some advantages like:<br><ul><li>smaller XML stanza sizes -> easier to handle for servers</li><li>better responsiveness because you can still retrieve presences or other messages while receiving a large stanza
<br></li></ul></div>If someone knows a better way to do something like this, please tell me about it.<br><br>regards<br>Tobias<br>