[jdev] IQ request response query

Peter Saint-Andre stpeter at jabber.org
Tue Dec 6 23:00:29 CST 2005

Vinod Panicker wrote:
> On 12/7/05, Peter Saint-Andre <stpeter at jabber.org> wrote:
>> Sending a separate roster
>> push for each item removed seems appropriate if you are sending multiple
>> removes in a single IQ set. However, sending multiple removes in a
>> single IQ set seems wrong (or at least misguided) to me. I thought the
>> spec prohibited including more than one <item/> when sending an IQ-set
>> to the server, but I can't find that in RFC 3921. What is the use case
>> for doing that? Perhaps we need to clean that up in rfc3921bis because I
>> think it's a bad idea.
> Thanks for the response. Since the RFC is not expressly forbidding it
> (and there are places where we do need to have multiple items in an iq
> get, such as roster retrieval), I am assuming that a client MAY send
> such a request.  Thats why I was looking at possible ways of handling
> it.  Allowing something like this is definitely a bad idea.  And I'm
> in favour of adding this in rfc3921bis.

OK, good. The spec is incomplete on this point mainly because we never 
thought any client developer would generate something so "stupid". But 
when you write these specs you often assume too much -- not everyone 
comes to these specs with a background of Jabber development experience, 
and what seems stupid to longtime Jabberites probably seems just fine to 
a newbie.


Peter Saint-Andre
Jabber Software Foundation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3641 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20051206/524e9493/attachment-0002.bin>

More information about the JDev mailing list