[ 
https://issues.apache.org/jira/browse/VYSPER-57?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bernd Fondermann updated VYSPER-57:
-----------------------------------

    Component/s: XEP0060 PubSub

> Delete a Node (XEP-0060 8.4)
> ----------------------------
>
>                 Key: VYSPER-57
>                 URL: https://issues.apache.org/jira/browse/VYSPER-57
>             Project: VYSPER
>          Issue Type: Sub-task
>          Components: XEP0060 PubSub
>            Reporter: Michael Jakl
>            Assignee: Michael Jakl
>
> To delete a node, the user must be the owner of the node and send an IQ 
> stanza of this form:
> <iq type='set'
>     from='[email protected]/elsinore'
>     to='pubsub.shakespeare.lit'
>     id='delete1'>
>   <pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
>     <delete node='princely_musings'/>
>   </pubsub>
> </iq>
> The success case confirms the deletion and informs the subscribers of the 
> deletion:
> If no error occurs, the service MUST inform the owner of success.
> Example 148. Service replies with success
> <iq type='result'
>     from='pubsub.shakespeare.lit'
>     id='delete1'/>
>       
> In addition, the service MUST also send notification of node deletion to all 
> subscribers (which SHOULD include pending and unconfigured subscriptions).
> Example 149. Subscribers are notified of node deletion
> <message from='pubsub.shakespeare.lit' to='[email protected]' id='foo'>
>   <event xmlns='http://jabber.org/protocol/pubsub#event'>
>     <delete node='princely_musings'/>
>   </event>
> </message>
> <message from='pubsub.shakespeare.lit' to='[email protected]' id='bar'>
>   <event xmlns='http://jabber.org/protocol/pubsub#event'>
>     <delete node='princely_musings'/>
>   </event>
> </message>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to