[jdev] IQ handling. Was: Directed presence + presence probe result

Vinod Panicker vinod.p at gmail.com
Wed Nov 23 05:59:52 CST 2005


On 11/23/05, Ralph Meijer <jabber.org at ralphm.ik.nu> wrote:
> > PS: Any thoughts on the multiple iq items error handling anyone?
>
> What do you mean? An iq may only have 1 child element.

Considering this stanza -

Sorry!  The stanza should have been like this -

 <iq from='juliet at example.com/balcony' type='set' id='roster_4'>
   <query xmlns='jabber:iq:roster'>
     <item jid='abc at example.com' subscription='remove'/>
     <item jid='def at example.com' subscription='remove'/>
     <item jid='ghi at example.com' subscription='remove'/>
   </query>
 </iq>

What if there are errors for any of the items?

Regards,
Vinod.



More information about the JDev mailing list