[JDEV] Roster Deletion

Matt Diez matt at vedalabs.com
Fri Mar 30 15:20:48 CST 2001


	
Can anyone tell me what the actual iq message format is to delete a single
user from the roster?
 
>From my searching, there appear to be no documents on the jabber site that
seem to outline this.

Looking at WinJab's debug I see:
 <iq id="JCOM_2" type="set"><query xmlns="jabber:iq:roster"><item
jid="user at host" name="user at host" subscription="remove"/></query></iq>

Now, the problem I see here is this:


<!ELEMENT query ((item)*)>  <!ELEMENT item ((group)*)>  <!ATTLIST item
	jid PCDATA #IMPLIED
	name PCDATA #IMPLIED
	subscription (to|from|both|none) #IMPLIED
	ask (subscribe|unsubscribe) #IMPLIED
	>  <!ELEMENT group (#PCDATA)>

The DTD Has no place in it for subscription="remove", is this a simple
oversight?


Also: What is the appropriate server response to a sucessful deletion
message?
 
 
 Matthew D. Diez
 Vedalabs, Inc.
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20010330/0b6e6cf5/attachment-0002.htm>


More information about the JDev mailing list