mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-22 01:02:17 -05:00
0.7
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@2284 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
parent
bfe4c635e6
commit
02d21e8a44
154
xep-0168.xml
154
xep-0168.xml
@ -21,9 +21,20 @@
|
|||||||
</dependencies>
|
</dependencies>
|
||||||
<supersedes/>
|
<supersedes/>
|
||||||
<supersededby/>
|
<supersededby/>
|
||||||
<shortname>TO BE ASSIGNED</shortname>
|
<shortname>NOT_YET_ASSIGNED</shortname>
|
||||||
&stpeter;
|
&stpeter;
|
||||||
&hildjj;
|
&hildjj;
|
||||||
|
<revision>
|
||||||
|
<version>0.7</version>
|
||||||
|
<date>2008-09-26</date>
|
||||||
|
<initials>psa</initials>
|
||||||
|
<remark>
|
||||||
|
<ul>
|
||||||
|
<li>More clearly defined the meaning of "application type".</li>
|
||||||
|
<li>Modified namespaces to incorporate namespace versioning.</li>
|
||||||
|
</ul>
|
||||||
|
</remark>
|
||||||
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<version>0.6</version>
|
<version>0.6</version>
|
||||||
<date>2007-11-19</date>
|
<date>2007-11-19</date>
|
||||||
@ -40,7 +51,15 @@
|
|||||||
<version>0.4</version>
|
<version>0.4</version>
|
||||||
<date>2007-06-06</date>
|
<date>2007-06-06</date>
|
||||||
<initials>psa</initials>
|
<initials>psa</initials>
|
||||||
<remark><p>Added section on RAP-based routing of messages sent to bare JIDs; removed RAP request protocol; changed app attribute to ns attribute; removed the application types registry since it is unnecessary if the ns attribute specifies the XML namespace of the data most closely associated with the application type; updated namespaces to conform to XMPP Registrar processes.</p></remark>
|
<remark>
|
||||||
|
<ul>
|
||||||
|
<li>Added section on RAP-based routing of messages sent to bare JIDs.</li>
|
||||||
|
<li>Removed RAP request protocol.</li>
|
||||||
|
<li>Changed app attribute to ns attribute.</li>
|
||||||
|
<li>Removed the application types registry since it is unnecessary if the ns attribute specifies the XML namespace of the data most closely associated with the application type.</li>
|
||||||
|
<li>Updated namespaces to conform to XMPP Registrar processes.</li>
|
||||||
|
</ul>
|
||||||
|
</remark>
|
||||||
</revision>
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<version>0.3</version>
|
<version>0.3</version>
|
||||||
@ -124,15 +143,29 @@
|
|||||||
</table>
|
</table>
|
||||||
<p>If the contact chooses the resource with which it initiates a voice chat based on the standard XMPP <priority/> element, the resulting behavior could be misleading (i.e., initiating the voice chat with the "desktop" resource rather than the "mobile" resource).</p>
|
<p>If the contact chooses the resource with which it initiates a voice chat based on the standard XMPP <priority/> element, the resulting behavior could be misleading (i.e., initiating the voice chat with the "desktop" resource rather than the "mobile" resource).</p>
|
||||||
<p>What is needed is a way for the user's clients to indicate that the application priority for the three resources is different from the standard XMPP priority. This document defines such a mechanism via an optional XMPP presence extension.</p>
|
<p>What is needed is a way for the user's clients to indicate that the application priority for the three resources is different from the standard XMPP priority. This document defines such a mechanism via an optional XMPP presence extension.</p>
|
||||||
<p>As extensions to that core use case, this document also defines:</p>
|
<p>As applications of that core use case, this document also defines:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>A way for an XMPP server to mark which resource it considers to be primary for any given application type, if it has information -- such as communication preferences -- that can help it determine the primary resource.</li>
|
<li>A way for an XMPP server to mark which resource it considers to be primary for any given application type, if it has information -- such as communication preferences -- that can help it determine the primary resource.</li>
|
||||||
<li>A way for an XMPP server to use application priority data for more intelligent routing of specially-labelled XMPP &MESSAGE; stanzas directed to a user's bare JID &LOCALBARE;.</li>
|
<li>A way for an XMPP server to use application priority data for more intelligent routing of specially-labelled XMPP &MESSAGE; stanzas directed to a user's bare JID &LOCALBARE;.</li>
|
||||||
</ul>
|
</ul>
|
||||||
</section1>
|
</section1>
|
||||||
|
|
||||||
|
<section1 topic='What Is An Application?' anchor='app'>
|
||||||
|
<p>This specification deliberately leaves the meaning of the term "application" or "application type" fairly loose. Possible examples include:</p>
|
||||||
|
<ul>
|
||||||
|
<li>Messaging</li>
|
||||||
|
<li>Voice chat</li>
|
||||||
|
<li>Video chat</li>
|
||||||
|
<li>Calendaring</li>
|
||||||
|
<li>Whiteboarding</li>
|
||||||
|
<li>Collaborative editing</li>
|
||||||
|
</ul>
|
||||||
|
<p>A future version of this specificaiton might establish a registry for application types.</p>
|
||||||
|
</section1>
|
||||||
|
|
||||||
<section1 topic='Application Priority' anchor='rap'>
|
<section1 topic='Application Priority' anchor='rap'>
|
||||||
<section2 topic='Format' anchor='rap-format'>
|
<section2 topic='Format' anchor='rap-format'>
|
||||||
<p>Application priority is encapsulated by a <rap/> element qualified by the 'http://www.xmpp.org/extensions/xep-0168.html#ns' namespace &NSNOTE;. The attributes of the <rap/> element are as follows.</p>
|
<p>Application priority is encapsulated by a <rap/> element qualified by the 'urn:xmpp:rap:0' namespace &VNOTE;. The attributes of the <rap/> element are as follows.</p>
|
||||||
<table caption='RAP Attributes'>
|
<table caption='RAP Attributes'>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Attribute</th>
|
<th>Attribute</th>
|
||||||
@ -152,42 +185,42 @@
|
|||||||
</table>
|
</table>
|
||||||
<p>An example follows.</p>
|
<p>An example follows.</p>
|
||||||
<example caption='Data format'><![CDATA[
|
<example caption='Data format'><![CDATA[
|
||||||
<rap xmlns='http://www.xmpp.org/extensions/xep-0168.html#ns'
|
<rap xmlns='urn:xmpp:rap:0'
|
||||||
ns='http://www.xmpp.org/extensions/xep-0167#ns'
|
ns='urn:xmpp:jingle:apps:rtp:0'
|
||||||
num='5'/>
|
num='5'/>
|
||||||
]]></example>
|
]]></example>
|
||||||
</section2>
|
</section2>
|
||||||
<section2 topic='Generation' anchor='rap-gen'>
|
<section2 topic='Generation' anchor='rap-gen'>
|
||||||
<p>The following business rules apply to the generation of resource application priority by the client:</p>
|
<p>The following business rules apply to the generation of resource application priority by the client:</p>
|
||||||
<ol start='1'>
|
<ol start='1'>
|
||||||
<li><p>A client SHOULD include a <rap/> element for each application type for which it wishes to advertise a priority, but SHOULD NOT do so if the priority for that application is the same as the resource's standard XMPP priority.</p></li>
|
<li><p>A client SHOULD include a <rap/> element for each application type it prioritizes, but SHOULD NOT do so if the priority for that application is the same as the resource's standard XMPP priority.</p></li>
|
||||||
<li><p>A client MUST NOT generate a <rap/> element that has a 'ns' attribute whose value is "jabber:client" or that has no 'ns' attribute (since the default 'ns' is "jabber:client").</p></li>
|
<li><p>A client MUST NOT generate a <rap/> element that has a 'ns' attribute whose value is "jabber:client" or that has no 'ns' attribute (since the default 'ns' is "jabber:client").</p></li>
|
||||||
<li><p>The <rap/> element SHOULD be empty.</p></li>
|
<li><p>The <rap/> element SHOULD be empty.</p></li>
|
||||||
</ol>
|
</ol>
|
||||||
<p>As explained in the following sections, there are two possible transports for RAP data: standard XMPP presence and the XMPP publish-subscribe extension.</p>
|
<p>As explained in the following sections, there are two possible transports for RAP data: standard XMPP presence and the XMPP publish-subscribe extension.</p>
|
||||||
</section2>
|
</section2>
|
||||||
<section2 topic='Presence Transport' anchor='rap-presence'>
|
<section2 topic='Presence Transport' anchor='rap-presence'>
|
||||||
<p>RAP data MAY be included as extended content within a standard XMPP presence stanza. This is consistent with the rule that presence stanzas must be related to the network availability or communication preferences of the entity that provides presence information.</p>
|
<p>RAP data MAY be included as extended content within a standard XMPP presence stanza. This is consistent with the rule that presence stanzas need to be related to the network availability or communication preferences of the entity that provides presence information.</p>
|
||||||
<p>For the three resources ("desktop", "pda", and "mobile") mentioned above, the presence stanzas received by a contact would be as follows.</p>
|
<p>For the three resources ("desktop", "pda", and "mobile") mentioned above, the presence stanzas received by a contact would be as follows.</p>
|
||||||
<example caption='Contact receives presence from user'><![CDATA[
|
<example caption='Contact receives presence from user'><![CDATA[
|
||||||
<presence from='juliet@capulet.lit/desktop' to='romeo@montague.lit/home'>
|
<presence from='juliet@capulet.lit/desktop' to='romeo@montague.lit/home'>
|
||||||
<priority>10</priority>
|
<priority>10</priority>
|
||||||
<rap xmlns='http://www.xmpp.org/extensions/xep-0168.html#ns'
|
<rap xmlns='urn:xmpp:rap:0'
|
||||||
ns='http://www.xmpp.org/extensions/xep-0167#ns'
|
ns='urn:xmpp:jingle:apps:rtp:0'
|
||||||
num='5'/>
|
num='5'/>
|
||||||
</presence>
|
</presence>
|
||||||
|
|
||||||
<presence from='juliet@capulet.lit/pda' to='romeo@montague.lit/home'>
|
<presence from='juliet@capulet.lit/pda' to='romeo@montague.lit/home'>
|
||||||
<priority>5</priority>
|
<priority>5</priority>
|
||||||
<rap xmlns='http://www.xmpp.org/extensions/xep-0168.html#ns'
|
<rap xmlns='urn:xmpp:rap:0'
|
||||||
ns='http://www.xmpp.org/extensions/xep-0167#ns'
|
ns='urn:xmpp:jingle:apps:rtp:0'
|
||||||
num='-1'/>
|
num='-1'/>
|
||||||
</presence>
|
</presence>
|
||||||
|
|
||||||
<presence from='juliet@capulet.lit/mobile' to='romeo@montague.lit/home'>
|
<presence from='juliet@capulet.lit/mobile' to='romeo@montague.lit/home'>
|
||||||
<priority>-1</priority>
|
<priority>-1</priority>
|
||||||
<rap xmlns='http://www.xmpp.org/extensions/xep-0168.html#ns'
|
<rap xmlns='urn:xmpp:rap:0'
|
||||||
ns='http://www.xmpp.org/extensions/xep-0167#ns'
|
ns='urn:xmpp:jingle:apps:rtp:0'
|
||||||
num='10'/>
|
num='10'/>
|
||||||
</presence>
|
</presence>
|
||||||
]]></example>
|
]]></example>
|
||||||
@ -198,13 +231,13 @@
|
|||||||
<example caption='Contact receives pubsub notifications from user'><![CDATA[
|
<example caption='Contact receives pubsub notifications from user'><![CDATA[
|
||||||
<message from='juliet@capulet.lit'
|
<message from='juliet@capulet.lit'
|
||||||
id='rap1'
|
id='rap1'
|
||||||
to='romeo@montague.lit/orchard'
|
to='romeo@montague.lit'
|
||||||
type='headline'>
|
type='headline'>
|
||||||
<event xmlns='http://jabber.org/protocol/pubsub#event'>
|
<event xmlns='http://jabber.org/protocol/pubsub#event'>
|
||||||
<items node='http://www.xmpp.org/extensions/xep-0168.html#ns'>
|
<items node='urn:xmpp:rap:0'>
|
||||||
<item>
|
<item>
|
||||||
<rap xmlns='http://www.xmpp.org/extensions/xep-0168.html#ns'
|
<rap xmlns='urn:xmpp:rap:0'
|
||||||
ns='http://www.xmpp.org/extensions/xep-0167#ns'
|
ns='urn:xmpp:jingle:apps:rtp:0'
|
||||||
num='5'/>
|
num='5'/>
|
||||||
</item>
|
</item>
|
||||||
</items>
|
</items>
|
||||||
@ -216,13 +249,13 @@
|
|||||||
|
|
||||||
<message from='juliet@capulet.lit'
|
<message from='juliet@capulet.lit'
|
||||||
id='rap2'
|
id='rap2'
|
||||||
to='romeo@montague.lit/orchard'
|
to='romeo@montague.lit'
|
||||||
type='headline'>
|
type='headline'>
|
||||||
<event xmlns='http://jabber.org/protocol/pubsub#event'>
|
<event xmlns='http://jabber.org/protocol/pubsub#event'>
|
||||||
<items node='http://www.xmpp.org/extensions/xep-0168.html#ns'>
|
<items node='urn:xmpp:rap:0'>
|
||||||
<item>
|
<item>
|
||||||
<rap xmlns='http://www.xmpp.org/extensions/xep-0168.html#ns'
|
<rap xmlns='urn:xmpp:rap:0'
|
||||||
ns='http://www.xmpp.org/extensions/xep-0167#ns'
|
ns='urn:xmpp:jingle:apps:rtp:0'
|
||||||
num='-1'/>
|
num='-1'/>
|
||||||
</item>
|
</item>
|
||||||
</items>
|
</items>
|
||||||
@ -234,13 +267,13 @@
|
|||||||
|
|
||||||
<message from='juliet@capulet.lit'
|
<message from='juliet@capulet.lit'
|
||||||
id='rap3'
|
id='rap3'
|
||||||
to='romeo@montague.lit/orchard'
|
to='romeo@montague.lit'
|
||||||
type='headline'>
|
type='headline'>
|
||||||
<event xmlns='http://jabber.org/protocol/pubsub#event'>
|
<event xmlns='http://jabber.org/protocol/pubsub#event'>
|
||||||
<items node='http://www.xmpp.org/extensions/xep-0168.html#ns'>
|
<items node='urn:xmpp:rap:0'>
|
||||||
<item>
|
<item>
|
||||||
<rap xmlns='http://www.xmpp.org/extensions/xep-0168.html#ns'
|
<rap xmlns='urn:xmpp:rap:0'
|
||||||
ns='http://www.xmpp.org/extensions/xep-0167#ns'
|
ns='urn:xmpp:jingle:apps:rtp:0'
|
||||||
num='10'/>
|
num='10'/>
|
||||||
</item>
|
</item>
|
||||||
</items>
|
</items>
|
||||||
@ -252,14 +285,15 @@
|
|||||||
]]></example>
|
]]></example>
|
||||||
</section2>
|
</section2>
|
||||||
</section1>
|
</section1>
|
||||||
|
|
||||||
<section1 topic='Flagging the Primary Resource' anchor='flag'>
|
<section1 topic='Flagging the Primary Resource' anchor='flag'>
|
||||||
<p>The user's XMPP server may have special information that enables it to flag a resource as primary for a given application type. For instance, the server may include a communication policy service that enables the user to define (outside the context of any presence priorities) that she would prefer to be called at her desktop computer only between the hours of 9:00 AM and 5:00 PM local time, prefer to be called on her mobile phone at all other times, and so on.</p>
|
<p>The user's XMPP server might have special information that enables it to flag a resource as primary for a given application type. For instance, the server may include a communication policy service that enables the user to define (outside the context of any presence priorities) that she would prefer to be called at her desktop computer only between the hours of 9:00 AM and 5:00 PM local time, prefer to be called on her mobile phone at all other times, and so on.</p>
|
||||||
<p>To flag the primary resource related to a specific application type, the server shall add a <primary/> child to the relevant RAP element. Here is an example:</p>
|
<p>To flag the primary resource related to a specific application type, the server shall add a <primary/> child to the relevant RAP element. Here is an example:</p>
|
||||||
<example caption='Primary resource flag'><![CDATA[
|
<example caption='Primary resource flag'><![CDATA[
|
||||||
<presence from='juliet@capulet.lit/mobile'>
|
<presence from='juliet@capulet.lit/mobile'>
|
||||||
<priority>-1</priority>
|
<priority>-1</priority>
|
||||||
<rap xmlns='http://www.xmpp.org/extensions/xep-0168.html#ns'
|
<rap xmlns='urn:xmpp:rap:0'
|
||||||
ns='http://www.xmpp.org/extensions/xep-0167#ns'
|
ns='urn:xmpp:jingle:apps:rtp:0'
|
||||||
num='10'>
|
num='10'>
|
||||||
<primary/>
|
<primary/>
|
||||||
</rap>
|
</rap>
|
||||||
@ -270,20 +304,19 @@
|
|||||||
<li><p>A server MAY add the <primary/> element to RAP data generated by the resource it determines is "most available" for a given application type.</p></li>
|
<li><p>A server MAY add the <primary/> element to RAP data generated by the resource it determines is "most available" for a given application type.</p></li>
|
||||||
<li><p>Because the default 'ns' is "jabber:client", to flag the primary resource for standard XMPP communications the server SHOULD NOT include a 'ns' attribute, SHOULD NOT include a 'num' attribute, and MUST include a <primary/> child.</p></li>
|
<li><p>Because the default 'ns' is "jabber:client", to flag the primary resource for standard XMPP communications the server SHOULD NOT include a 'ns' attribute, SHOULD NOT include a 'num' attribute, and MUST include a <primary/> child.</p></li>
|
||||||
<li><p>An available resource that has specified a negative priority for an application type MUST NOT be flagged as the primary resource for that application type.</p></li>
|
<li><p>An available resource that has specified a negative priority for an application type MUST NOT be flagged as the primary resource for that application type.</p></li>
|
||||||
<li><p>A client SHOULD NOT include the <primary/> element in RAP data that it generates; however, if a client includes <primary/> element, the server SHOULD remove or overwrite the element.</p></li>
|
<li><p>A client SHOULD NOT include the <primary/> element in RAP data that it generates; however, if a client includes a <primary/> element, the server SHOULD remove or overwrite the element.</p></li>
|
||||||
<li><p>In response to a presence probe, a server SHOULD send presence from the primary resource first (this enables the receiving client to skip any local "most-available-resource" algorithms it might implement) if the client includes RAP data in presence.</p></li>
|
<li><p>In response to a presence probe, a server SHOULD send presence from the primary resource first (this enables the receiving client to skip any local "most-available-resource" algorithms it might implement) if the client includes RAP data in presence.</p></li>
|
||||||
<li><p>If the primary resource changes for a given application type and the client includes RAP data in presence, a server MUST broadcast updated presence information (including the <primary/> element) for the new primary resource. If the change in primary resource occurs because of a presence broadcast from the current primary resource, the server MUST push presence from the current primary resource (without the <primary/> element) before pushing presence from the new primary resource (including the <primary/> element).</p></li>
|
<li><p>If the primary resource changes for a given application type and the client includes RAP data in presence, a server MUST broadcast updated presence information (including the <primary/> element) for the new primary resource. If the change in primary resource occurs because of a presence broadcast from the current primary resource, the server MUST push presence from the current primary resource (without the <primary/> element) before pushing presence from the new primary resource (including the <primary/> element).</p></li>
|
||||||
</ol>
|
</ol>
|
||||||
</section1>
|
</section1>
|
||||||
|
|
||||||
<section1 topic='RAP-Based Message Routing' anchor='route'>
|
<section1 topic='RAP-Based Message Routing' anchor='route'>
|
||||||
<p>A server MAY use the RAP data provided by a client in determing how to route incoming &MESSAGE; stanzas directed to the bare JID &LOCALBARE; of a registered account. In order to enable such routing, the sender MUST include an empty <route/> element qualified by the 'http://www.xmpp.org/extensions/xep-0168.html#ns-raproute' namespace &NSNOTE; including an 'ns' attribute corresponding to the desired application type.</p>
|
<p>A server MAY use the RAP data provided by a client in determining how to route incoming &MESSAGE; stanzas directed to the bare JID &LOCALBARE; of a registered account. In order to enable such routing, the sender MUST include an empty <route/> element qualified by the 'urn:xmpp:raproute:0' namespace &VNOTE; including an 'ns' attribute corresponding to the desired application type.</p>
|
||||||
<p>For example, consider a &xep0155; request sent from one user (Romeo) to another (Juliet), where the users do not share presence. Romeo wants the request to be delivered to the highest-priority resource for the "http://www.xmpp.org/extensions/xep-0167.html#ns" application type.</p>
|
<p>For example, consider a &xep0155; request sent from one user (Romeo) to another (Juliet), where the users do not share presence. Romeo wants the request to be delivered to the highest-priority resource for the "urn:xmpp:jingle:apps:rtp:0" application type.</p>
|
||||||
<example caption="User requests session"><![CDATA[
|
<example caption="User requests session"><![CDATA[
|
||||||
<message from='romeo@montague.lit/orchard'
|
<message from='romeo@montague.lit/orchard'
|
||||||
to='juliet@capulet.lit'
|
to='juliet@capulet.lit'
|
||||||
type='headline'>
|
type='headline'>
|
||||||
<route xmlns='http://www.xmpp.org/extensions/xep-0168.html#ns-raproute'
|
|
||||||
ns='http://www.xmpp.org/extensions/xep-0167.html#ns'/>
|
|
||||||
<thread>ffd7076498744578d10edabfe7f4a866</thread>
|
<thread>ffd7076498744578d10edabfe7f4a866</thread>
|
||||||
<feature xmlns='http://jabber.org/protocol/feature-neg'>
|
<feature xmlns='http://jabber.org/protocol/feature-neg'>
|
||||||
<x xmlns='jabber:x:data' type='form'>
|
<x xmlns='jabber:x:data' type='form'>
|
||||||
@ -295,14 +328,16 @@
|
|||||||
<value>true</value>
|
<value>true</value>
|
||||||
<required/>
|
<required/>
|
||||||
</field>
|
</field>
|
||||||
...
|
|
||||||
</feature>
|
</feature>
|
||||||
|
<route xmlns='urn:xmpp:raproute:0'
|
||||||
|
ns='urn:xmpp:jingle:apps:rtp:0'/>
|
||||||
</message>
|
</message>
|
||||||
]]></example>
|
]]></example>
|
||||||
<p>If Juliet's server supports RAP routing, it would then deliver the message to whichever of Juliet's resources has the highest priority for the "http://www.xmpp.org/extensions/xep-0167.html#ns" application type.</p>
|
<p>If Juliet's server supports RAP routing, it would then deliver the message to whichever of Juliet's resources has the highest priority for the "urn:xmpp:jingle:apps:rtp:0" application type.</p>
|
||||||
</section1>
|
</section1>
|
||||||
|
|
||||||
<section1 topic='Determining Support' anchor='disco'>
|
<section1 topic='Determining Support' anchor='disco'>
|
||||||
<p>In order to discover whether a server or other entity supports this protocol, an entity MUST use &xep0030; or the dynamic profile of service discovery defined in &xep0115;.</p>
|
<p>If an entity supports resource application priorities, it MUST advertise that fact by returning a feature of "urn:xmpp:rap:0", "urn:xmpp:raproute:0", or both &VNOTE; in response to &xep0030; information requests.</p>
|
||||||
<example caption='Entity queries a server regarding protocol support'><![CDATA[
|
<example caption='Entity queries a server regarding protocol support'><![CDATA[
|
||||||
<iq from='juliet@capulet.lit/balcony'
|
<iq from='juliet@capulet.lit/balcony'
|
||||||
id='disco1'
|
id='disco1'
|
||||||
@ -311,47 +346,42 @@
|
|||||||
<query xmlns='http://jabber.org/protocol/disco#info'/>
|
<query xmlns='http://jabber.org/protocol/disco#info'/>
|
||||||
</iq>
|
</iq>
|
||||||
]]></example>
|
]]></example>
|
||||||
<p>If the queried entity supports the functionality specified herein, it MUST return the following features &NSNOTE;:</p>
|
|
||||||
<ul>
|
|
||||||
<li>For RAP, "http://www.xmpp.org/extensions/xep-0168.html#ns"</li>
|
|
||||||
<li>For RAP routing, "http://www.xmpp.org/extensions/xep-0168.html#ns-route"</li>
|
|
||||||
</ul>
|
|
||||||
<example caption='Server communicates protocol support for RAP'><![CDATA[
|
<example caption='Server communicates protocol support for RAP'><![CDATA[
|
||||||
<iq from='capulet.lit'
|
<iq from='capulet.lit'
|
||||||
id='disco1'
|
id='disco1'
|
||||||
to='juliet@capulet.lit/balcony'
|
to='juliet@capulet.lit/balcony'
|
||||||
type='result'>
|
type='result'>
|
||||||
<query xmlns='http://jabber.org/protocol/disco#info'>
|
<query xmlns='http://jabber.org/protocol/disco#info'>
|
||||||
...
|
<feature var='urn:xmpp:rap:0'/>
|
||||||
<feature var='http://www.xmpp.org/extensions/xep-0168.html#ns'/>
|
<feature var='urn:xmpp:raproute:0'/>
|
||||||
<feature var='http://www.xmpp.org/extensions/xep-0168.html#ns-route'/>
|
|
||||||
...
|
|
||||||
</query>
|
</query>
|
||||||
</iq>
|
</iq>
|
||||||
]]></example>
|
]]></example>
|
||||||
|
<p>In order for an application to determine whether an entity supports this protocol, where possible it SHOULD use the dynamic, presence-based profile of service discovery defined in &xep0115;. However, if an application has not received entity capabilities information from an entity, it SHOULD use explicit service discovery instead.</p>
|
||||||
</section1>
|
</section1>
|
||||||
|
|
||||||
<section1 topic='Security Considerations' anchor='security'>
|
<section1 topic='Security Considerations' anchor='security'>
|
||||||
<p>When the pubsub transport is used, client publishing of resource application priority may result in a presence leak if the node access model is "open". Care should be taken in properly configuring the pubsub node so that unauthorized entities are not able to retrieve information about the user's available resources.</p>
|
<p>When the pubsub transport is used, client publishing of resource application priority can result in a presence leak if the node access model is "open". Care should be taken in properly configuring the pubsub node so that unauthorized entities are not able to retrieve information about the user's available resources.</p>
|
||||||
<p>Server flagging of the primary resource is not know to introduce any vulnerabilities or compromises of user privacy.</p>
|
<p>Server flagging of the primary resource is not known to introduce any vulnerabilities or compromises of user privacy.</p>
|
||||||
</section1>
|
</section1>
|
||||||
|
|
||||||
<section1 topic='IANA Considerations' anchor='iana'>
|
<section1 topic='IANA Considerations' anchor='iana'>
|
||||||
<p>This document requires no interaction with &IANA;.</p>
|
<p>This document requires no interaction with &IANA;.</p>
|
||||||
</section1>
|
</section1>
|
||||||
<section1 topic='XMPP Registrar Considerations' anchor='registrar'>
|
<section1 topic='XMPP Registrar Considerations' anchor='registrar'>
|
||||||
<section2 topic='Protocol Namespaces' anchor='ns'>
|
<section2 topic='Protocol Namespaces' anchor='registrar-ns'>
|
||||||
<p>Until this specification advances to a status of Draft, its associated namespaces shall be:</p>
|
<p>This specification defines the following XML namespaces:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>http://www.xmpp.org/extensions/xep-0168.html#ns</li>
|
<li>urn:xmpp:rap:0</li>
|
||||||
<li>http://www.xmpp.org/extensions/xep-0168.html#ns-route</li>
|
<li>urn:xmpp:raproute:0</li>
|
||||||
</ul>
|
|
||||||
<p>Upon advancement of this specification, the ®ISTRAR; shall issue permanent namespaces in accordance with the process defined in Section 4 of &xep0053;.</p>
|
|
||||||
<p>The following namespaces are requested, and are thought to be unique per the XMPP Registrar's requirements:</p>
|
|
||||||
<ul>
|
|
||||||
<li>urn:xmpp:rap</li>
|
|
||||||
<li>urn:xmpp:rap:route</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
|
<p>Upon advancement of this specification from a status of Experimental to a status of Draft, the ®ISTRAR; shall add the foregoing namespaces to the registry located at &NAMESPACES;, as described in Section 4 of &xep0053;.</p>
|
||||||
|
</section2>
|
||||||
|
<section2 topic='Namespace Versioning' anchor='registrar-versioning'>
|
||||||
|
<p>If the protocol defined in this specification undergoes a major revision that is not fully backward-compatible with an older version, or that contains significant new features, the XMPP Registrar shall increment the protocol version number found at the end of the XML namespaces defined herein, as described in Section 4 of <cite>XEP-0053</cite>.</p>
|
||||||
</section2>
|
</section2>
|
||||||
</section1>
|
</section1>
|
||||||
|
|
||||||
<section1 topic='XML Schemas' anchor='schema'>
|
<section1 topic='XML Schemas' anchor='schema'>
|
||||||
<section2 topic='RAP' anchor='schema-rap'>
|
<section2 topic='RAP' anchor='schema-rap'>
|
||||||
<code><![CDATA[
|
<code><![CDATA[
|
||||||
@ -359,8 +389,8 @@
|
|||||||
|
|
||||||
<xs:schema
|
<xs:schema
|
||||||
xmlns:xs='http://www.w3.org/2001/XMLSchema'
|
xmlns:xs='http://www.w3.org/2001/XMLSchema'
|
||||||
targetNamespace='http://www.xmpp.org/extensions/xep-0168.html#ns'
|
targetNamespace='urn:xmpp:rap:0'
|
||||||
xmlns='http://www.xmpp.org/extensions/xep-0168.html#ns'
|
xmlns='urn:xmpp:rap:0'
|
||||||
elementFormDefault='qualified'>
|
elementFormDefault='qualified'>
|
||||||
|
|
||||||
<xs:element name='rap'>
|
<xs:element name='rap'>
|
||||||
@ -388,8 +418,8 @@
|
|||||||
|
|
||||||
<xs:schema
|
<xs:schema
|
||||||
xmlns:xs='http://www.w3.org/2001/XMLSchema'
|
xmlns:xs='http://www.w3.org/2001/XMLSchema'
|
||||||
targetNamespace='http://www.xmpp.org/extensions/xep-0168.html#ns-route'
|
targetNamespace='urn:xmpp:raproute:0'
|
||||||
xmlns='http://www.xmpp.org/extensions/xep-0168.html#ns-route'
|
xmlns='urn:xmpp:raproute:0'
|
||||||
elementFormDefault='qualified'>
|
elementFormDefault='qualified'>
|
||||||
|
|
||||||
<xs:element name='route'>
|
<xs:element name='route'>
|
||||||
|
Loading…
Reference in New Issue
Block a user