[jdev] IQ request response query
Vinod Panicker
vinod.p at gmail.com
Thu Nov 10 04:30:47 CST 2005
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>
Suppose the removal of the first item succeeded and the rest two fail.
What kind of error can be sent back to the client? RFC 3920 states
that the result should contain an error and the original xml. How
will the client determine which one has the error in this case?
Regards,
Vinod.
More information about the JDev
mailing list