1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-22 01:02:17 -05:00

XEP-0230: Add forgotten namespace in example 3, and fix related text.

This commit is contained in:
Emmanuel Gil Peyrot 2016-10-04 19:16:28 +01:00
parent bd7cc7037c
commit b6765232a3

View File

@ -66,7 +66,7 @@
]]></example> ]]></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 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 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[ <example caption='Result-set for all items'><![CDATA[
<iq type='result' <iq type='result'
from='chat.shakespeare.lit' from='chat.shakespeare.lit'
@ -84,6 +84,7 @@
<item jid='henry-the-fourth-two@chat.shakespeare.lit'/> <item jid='henry-the-fourth-two@chat.shakespeare.lit'/>
<item jid='henry-the-fifth@chat.shakespeare.lit'/> <item jid='henry-the-fifth@chat.shakespeare.lit'/>
<subscription <subscription
xmlns='http://jabber.org/protocol/pubsub'
jid='bill@shakespeare.lit' jid='bill@shakespeare.lit'
subid='some-long-sub-id' subid='some-long-sub-id'
subscription='subscribed'/> subscription='subscribed'/>