Title: Roster Deletion

       
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@host" name="user@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.
 

Reply via email to