Its pasting mistake of mine. <br>
I removed the jid and name part and blocked till the server sends response. <br>
Stil client can receive messages from the blocked user.<br>
Moreover if i set the action="allow", still the privacy list contains the blocked user.<br>
<br>
--<br>
SEND:<br>
-----------------------------------<br>
<iq type="set" id="399421407678"> <query
xmlns="jabber:iq:privacy"> <list name="BlockedList"> <item
order="3" action="deny" value="<a href="mailto:ganesh.kundapur@bhdhcp07392.com">ganesh.kundapur@bhdhcp07392.com</a>"
type="jid"> <message></message><br>
</item><br>
</list><br>
</query><br>
</iq><br>
<br>
-----------------------------------<br>
<br>
RECV [59]:<br>
------------------------------------<br>
'<iq xmlns='jabber:client' id='399421407678' type='result'/>'<br>
------------------------------------<br>
<br>
SEND:<br>
-----------------------------------<br>
<iq type="get" id="208443682"> <query xmlns="jabber:iq:privacy"> <list name="BlockedList"></list><br>
</query><br>
</iq><br>
<br>
-----------------------------------<br>
<br>
RECV [242]:<br>
------------------------------------<br>
'<iq xmlns='jabber:client' id='208443682' type='result'><query
xmlns='jabber:iq:privacy'><list name='BlockedList'><item
order='3' action='deny' value='<a href="mailto:ganesh.kundapur@bhdhcp07392.com">ganesh.kundapur@bhdhcp07392.com</a>'
type='jid'><message/></item></list></query></iq>'<br>
------------------------------------<br>
Blocked user: <a href="mailto:ganesh.kundapur@bhdhcp07392.com">ganesh.kundapur@bhdhcp07392.com</a><br>
<br>
SEND:<br>
-----------------------------------<br>
</stream:stream><br>
-----------------------------------<br>
--<br><br><div><span class="gmail_quote">On 3/2/07, <b class="gmail_sendername">Richard Dobson</b> <<a href="mailto:richard@dobson-i.net">richard@dobson-i.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>> SEND:<br>> -----------------------------------<br>> <iq type="set" id="6562366909"> <query xmlns="jabber:iq:privacy"><br>> <list name="BlockedList"> <item order="23" action="deny"
<br>> value="<a href="mailto:ganesh.kundapur@bhdhcp07392.com">ganesh.kundapur@bhdhcp07392.com</a><br>> <mailto:<a href="mailto:ganesh.kundapur@bhdhcp07392.com">ganesh.kundapur@bhdhcp07392.com</a>>" type="jid"
<br>> jid="<a href="mailto:ganesh.kundapur@bhdhcp07392.com">ganesh.kundapur@bhdhcp07392.com</a><br>> <mailto:<a href="mailto:ganesh.kundapur@bhdhcp07392.com">ganesh.kundapur@bhdhcp07392.com</a>>" name="Ganesh Kundapur">
<br>> <message></message><br>> </item><br>> </list><br>> </query><br>> </iq><br>><br>> -----------------------------------<br>><br>> SEND:<br>> -----------------------------------
<br>> <iq type="get" id="6607167262"> <query xmlns="jabber:iq:privacy"><br>> <list name="BlockedList"></list><br>> </query><br>> </iq>
<br><br>I can see two problems here, again you have ignored our feedback and<br>included illegal attributes in your item, "jid" and "name" are not<br>valid, as Remko has said please check the spec *very carefully* and if
<br>you continue to ignore our feedback its likely we will stop helping you<br>(as what's the point in helping someone if they ignore it). Secondly,<br>you are requesting the privacy list before the server has responded
<br>saying that its updated it, although it will probably work you shouldn't<br>really do that as you don't know if your update to the privacy list has<br>worked or not.<br><br>Richard<br><br><br></blockquote></div>
<br>