[jdev] IQ request response query

Jacek Konieczny jajcus at jajcus.net
Thu Nov 10 07:02:34 CST 2005


On Thu, Nov 10, 2005 at 04:00:47PM +0530, Vinod Panicker wrote:
> Consider this scenario -
> 
> Client sends IQ stanza for removing three roster items from the roster
> of juliet at example.com .
> 
>    <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'/>
>      </query>
>      <query xmlns='jabber:iq:roster'>
>        <item jid='def at example.com' subscription='remove'/>
>      </query>
>      <query xmlns='jabber:iq:roster'>
>        <item jid='ghi at example.com' subscription='remove'/>
>      </query>
>    </iq>

This is not a legal XMPP stanza. <iq/> stanza may contain only _one_
payload element. 

Greets,
        Jacek



More information about the JDev mailing list