[jdev] IQ request response query
Vinod Panicker
vinod.p at gmail.com
Fri Nov 11 00:23:30 CST 2005
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>
On 11/10/05, Jacek Konieczny <jajcus at jajcus.net> wrote:
> 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