You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Bernd Fondermann (JIRA)" <ji...@apache.org> on 2009/06/10 11:22:12 UTC
[jira] Updated: (VYSPER-57) Delete a Node (XEP-0060 8.4)
[ 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='hamlet@denmark.lit/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='francisco@denmark.lit' id='foo'>
> <event xmlns='http://jabber.org/protocol/pubsub#event'>
> <delete node='princely_musings'/>
> </event>
> </message>
> <message from='pubsub.shakespeare.lit' to='bernardo@denmark.lit' 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.