[jdev] Problem in adding a group

Norman Rasmussen norman at rasmussen.co.za
Thu Mar 1 02:59:34 CST 2007


I'm not sure you can have empty groups in a roster.....

On 3/1/07, Ganesh Kundapur <ganesh.kundapur at gmail.com> wrote:
> Hi all,
>     I wanted to know wheather is it possible to add only groups without any
> jid's by sending the fallowing stanza
>
> <iq type="set" id="311432316575"> <query xmlns="jabber:iq:roster">
>  <item>
>     <group>myfreinds</group>
>     <group>Family</group>
>  </item>
> </query>
> </iq>
>
> If i send the above stanza, I'm getting the fallowing error message from the
> server
> --
> <iq xmlns='jabber:client' id='311432316575' type='error'> <error
> type='modify' code='400'><bad-request
> xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error><query
> xmlns='jabber:iq:roster'> <item> <group>myfreinds</group>
>  <group>Family</group>
> </item>
> </query>
> </iq>
>
> Is there any way to add only groups and is it possible to create a new
> contact list ( roster ) in jabber?
>
> Regards,
>  Ganesh
>


-- 
- Norman Rasmussen
 - Email: norman at rasmussen.co.za
 - Home page: http://norman.rasmussen.co.za/



More information about the JDev mailing list