1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-10 19:35:08 -05:00

Merge pull request #255 from linkmauve/xep-0230-namespace-fix

XEP-0230: Add forgotten namespace in example 3, and fix related text
This commit is contained in:
Sam Whited 2016-10-04 11:24:45 -07:00 committed by GitHub
commit 7d5f226d17

View File

@ -24,6 +24,12 @@
<shortname>NOT YET ASSIGNED</shortname>
&hildjj;
&stpeter;
<revision>
<version>0.1.1</version>
<date>2016-10-04</date>
<initials>egp</initials>
<remark><p>Add forgotten namespace in example 3, and change the text to describe the correct element.</p></remark>
</revision>
<revision>
<version>0.1</version>
<date>2008-01-30</date>
@ -66,7 +72,7 @@
]]></example>
<p>If the responding entity does not recognize inclusion of the &lt;subscribe/&gt; element as a child of the &lt;query/&gt; element, it MUST return the service discovery items but MUST NOT send subsequent notifications to the requesting entity.</p>
<p>If the requesting entity did not share presence with the responding entity, the responding entity MUST return the service discovery items but SHOULD NOT send subsequent notifications to the requesting entity.</p>
<p>If the responding entity recognizes inclusion of the &lt;subscribe/&gt; element as a child of the &lt;query/&gt; element and the requesting entity is allowed to receive notifications, the responding entity MUST return the service discovery items (including a &lt;subscriptions/&gt; element) and SHOULD send subsequent notifications to the requesting entity.</p>
<p>If the responding entity recognizes inclusion of the &lt;subscribe/&gt; element as a child of the &lt;query/&gt; element and the requesting entity is allowed to receive notifications, the responding entity MUST return the service discovery items (including a &lt;subscription/&gt; element) and SHOULD send subsequent notifications to the requesting entity.</p>
<example caption='Result-set for all items'><![CDATA[
<iq type='result'
from='chat.shakespeare.lit'
@ -84,6 +90,7 @@
<item jid='henry-the-fourth-two@chat.shakespeare.lit'/>
<item jid='henry-the-fifth@chat.shakespeare.lit'/>
<subscription
xmlns='http://jabber.org/protocol/pubsub'
jid='bill@shakespeare.lit'
subid='some-long-sub-id'
subscription='subscribed'/>