1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-22 09:12:19 -05:00

corrected notification examples

git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@3708 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
Peter Saint-Andre 2009-12-08 00:02:10 +00:00
parent 59ee68932d
commit 8f465c538b

View File

@ -4022,7 +4022,7 @@ And by opposing end them?
</x> </x>
</message> </message>
]]></example> ]]></example>
<p>The service then SHOULD send notification to the approved subscriber (see the <link url='#impl-subchange'>Notification of Subscription State Changes</link> section of this document).</p> <p>The service then SHOULD notify the approved subscriber (see the <link url='#impl-subchange'>Notification of Subscription State Changes</link> section of this document).</p>
<example caption='Subscription approval notification'><![CDATA[ <example caption='Subscription approval notification'><![CDATA[
<message <message
from='pubsub.shakespeare.lit' from='pubsub.shakespeare.lit'
@ -4052,15 +4052,15 @@ And by opposing end them?
</x> </x>
</message> </message>
]]></example> ]]></example>
<p>The service then SHOULD send notification to the denied subscriber (see the <link url='#impl-subchange'>Notification of Subscription State Changes</link> section of this document).</p> <p>The service then SHOULD notify the denied subscriber (see the <link url='#impl-subchange'>Notification of Subscription State Changes</link> section of this document).</p>
<example caption='Subscription cancellation / denial notification'><![CDATA[ <example caption='Subscription cancellation / denial notification'><![CDATA[
<message <message
from='pubsub.shakespeare.lit' from='pubsub.shakespeare.lit'
to='horatio@denmark.lit' to='horatio@denmark.lit'
id='unsubnotify1'> id='unsubnotify1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'> <event xmlns='http://jabber.org/protocol/pubsub#event'>
<subscription node='princely_musings' jid='horatio@denmark.lit' subscription='none'/> <subscription node='princely_musings' jid='horatio@denmark.lit' subscription='none'/>
</pubsub> </event>
</message> </message>
]]></example> ]]></example>
<p>In order to cancel the form submission, the owner shall reply with the form's 'type' attribute set to "cancel".</p> <p>In order to cancel the form submission, the owner shall reply with the form's 'type' attribute set to "cancel".</p>
@ -4397,12 +4397,12 @@ And by opposing end them?
<p>In order to remove an entity from the subscriptions list, the owner MUST set the value of the 'subscription' attribute to "none" and the service MUST remove that entity from the subscriptions list and not return it in response to future list requests.</p> <p>In order to remove an entity from the subscriptions list, the owner MUST set the value of the 'subscription' attribute to "none" and the service MUST remove that entity from the subscriptions list and not return it in response to future list requests.</p>
</section3> </section3>
<section3 topic='Notifying Subscribers' anchor='owner-subscriptions-notifysub'> <section3 topic='Notifying Subscribers' anchor='owner-subscriptions-notifysub'>
<p>An implementation SHOULD send notification to an entity whose subscription has changed (see the <link url='#impl-subchange'>Notification of Subscription State Changes</link> section of this document).</p> <p>An implementation SHOULD notify an entity whose subscription has changed (see the <link url='#impl-subchange'>Notification of Subscription State Changes</link> section of this document).</p>
<example caption='Service sends notification of subscription change'><![CDATA[ <example caption='Service sends notification of subscription change'><![CDATA[
<message from='pubsub.shakespeare.lit' to='polonius@denmark.lit'> <message from='pubsub.shakespeare.lit' to='polonius@denmark.lit'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'> <event xmlns='http://jabber.org/protocol/pubsub#event'>
<subscription node='princely_musings' jid='polonius@denmark.lit' subscription='none'/> <subscription node='princely_musings' jid='polonius@denmark.lit' subscription='none'/>
</pubsub> </event>
</message> </message>
]]></example> ]]></example>
</section3> </section3>