[jdev] Problem in adding a group

Richard Dobson richard at dobson-i.net
Fri Mar 2 04:24:52 CST 2007


> SEND:
> -----------------------------------
> <iq type="set" id="6562366909"> <query xmlns="jabber:iq:privacy"> 
> <list name="BlockedList"> <item order="23" action="deny" 
> value="ganesh.kundapur at bhdhcp07392.com 
> <mailto:ganesh.kundapur at bhdhcp07392.com>" type="jid" 
> jid="ganesh.kundapur at bhdhcp07392.com 
> <mailto:ganesh.kundapur at bhdhcp07392.com>" name="Ganesh Kundapur"> 
> <message></message>
> </item>
> </list>
> </query>
> </iq>
>
> -----------------------------------
>
> SEND:
> -----------------------------------
> <iq type="get" id="6607167262"> <query xmlns="jabber:iq:privacy"> 
> <list name="BlockedList"></list>
> </query>
> </iq>

I can see two problems here, again you have ignored our feedback and 
included illegal attributes in your item, "jid" and "name" are not 
valid, as Remko has said please check the spec *very carefully* and if 
you continue to ignore our feedback its likely we will stop helping you 
(as what's the point in helping someone if they ignore it). Secondly, 
you are requesting the privacy list before the server has responded 
saying that its updated it, although it will probably work you shouldn't 
really do that as you don't know if your update to the privacy list has 
worked or not.

Richard





More information about the JDev mailing list