mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-28 12:12:22 -05:00
1.5pre8
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@1403 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
parent
f99b7c0f4b
commit
360de1eed6
28
xep-0115.xml
28
xep-0115.xml
@ -28,10 +28,10 @@
|
|||||||
&stpeter;
|
&stpeter;
|
||||||
&remko;
|
&remko;
|
||||||
<revision>
|
<revision>
|
||||||
<version>1.5pre7</version>
|
<version>1.5pre8</version>
|
||||||
<date>2007-11-08</date>
|
<date>in progress, last updated 2007-11-19</date>
|
||||||
<initials>jjh/psa</initials>
|
<initials>jjh/psa</initials>
|
||||||
<remark><p>Required inclusion of the hash attribute in non-legacy mode; removed schema default for hash attribute; clarified meaning of node attribute; further specified security considerations; clarified handling of the legacy format to assist developers.</p></remark>
|
<remark><p>Removed hash attribute since only SHA-1 is used; clarified meaning of node attribute; further specified security considerations; clarified handling of the legacy format to assist developers.</p></remark>
|
||||||
</revision>
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<version>1.4</version>
|
<version>1.4</version>
|
||||||
@ -126,8 +126,7 @@
|
|||||||
<code><![CDATA[
|
<code><![CDATA[
|
||||||
<presence from='romeo@montague.lit/orchard'>
|
<presence from='romeo@montague.lit/orchard'>
|
||||||
<c xmlns='http://jabber.org/protocol/caps'
|
<c xmlns='http://jabber.org/protocol/caps'
|
||||||
hash='sha-1'
|
node='http://code.google.com/p/exodus/'
|
||||||
node='http://code.google.com/p/exodus/;0.9.1'
|
|
||||||
ver='8RovUdtOmiAjzj+xI7SK5BCw3A8='/>
|
ver='8RovUdtOmiAjzj+xI7SK5BCw3A8='/>
|
||||||
</presence>
|
</presence>
|
||||||
]]></code>
|
]]></code>
|
||||||
@ -159,8 +158,7 @@
|
|||||||
<code><![CDATA[
|
<code><![CDATA[
|
||||||
<presence from='benvolio@capulet.lit/230193'>
|
<presence from='benvolio@capulet.lit/230193'>
|
||||||
<c xmlns='http://jabber.org/protocol/caps'
|
<c xmlns='http://jabber.org/protocol/caps'
|
||||||
hash='sha-1'
|
node='http://psi-im.org/'
|
||||||
node='http://psi-im.org/;0.11'
|
|
||||||
ver='8RovUdtOmiAjzj+xI7SK5BCw3A8='/>
|
ver='8RovUdtOmiAjzj+xI7SK5BCw3A8='/>
|
||||||
</presence>
|
</presence>
|
||||||
]]></code>
|
]]></code>
|
||||||
@ -169,7 +167,6 @@
|
|||||||
<code><![CDATA[
|
<code><![CDATA[
|
||||||
<presence from='nurse@capulet.lit/chamber'>
|
<presence from='nurse@capulet.lit/chamber'>
|
||||||
<c xmlns='http://jabber.org/protocol/caps'
|
<c xmlns='http://jabber.org/protocol/caps'
|
||||||
hash='sha-1'
|
|
||||||
node='http://psi-im.org/;0.10'
|
node='http://psi-im.org/;0.10'
|
||||||
ver='uCoVCteRe3ty2wU2gHxkMaA7xhs='/>
|
ver='uCoVCteRe3ty2wU2gHxkMaA7xhs='/>
|
||||||
</presence>
|
</presence>
|
||||||
@ -178,8 +175,7 @@
|
|||||||
<code><![CDATA[
|
<code><![CDATA[
|
||||||
<presence from='bard@shakespeare.lit/globe'>
|
<presence from='bard@shakespeare.lit/globe'>
|
||||||
<c xmlns='http://jabber.org/protocol/caps'
|
<c xmlns='http://jabber.org/protocol/caps'
|
||||||
hash='sha-1'
|
node='http://www.chatopus.com/'
|
||||||
node='http://www.chatopus.com/;2.2'
|
|
||||||
ver='zHyEOgxTrkpSdGcQKH8EFPLsriY='/>
|
ver='zHyEOgxTrkpSdGcQKH8EFPLsriY='/>
|
||||||
</presence>
|
</presence>
|
||||||
]]></code>
|
]]></code>
|
||||||
@ -225,11 +221,6 @@
|
|||||||
<td>A set of nametokens specifying additional feature bundles; this attribute is deprecated (see the <link url='#legacy'>Legacy Format</link> section of this document).</td>
|
<td>A set of nametokens specifying additional feature bundles; this attribute is deprecated (see the <link url='#legacy'>Legacy Format</link> section of this document).</td>
|
||||||
<td>DEPRECATED</td>
|
<td>DEPRECATED</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
|
||||||
<td>hash</td>
|
|
||||||
<td>The hashing algorithm used in generated the 'ver' attribute (see &ianahashes;). The value SHOULD be "sha-1".</td>
|
|
||||||
<td>REQUIRED</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>node</td>
|
<td>node</td>
|
||||||
<td>A unique identifier for the software underlying the entity, typically a URL at the website of the project or company that produces the software. *</td>
|
<td>A unique identifier for the software underlying the entity, typically a URL at the website of the project or company that produces the software. *</td>
|
||||||
@ -275,8 +266,7 @@
|
|||||||
<example caption='Annotated presence sent'><![CDATA[
|
<example caption='Annotated presence sent'><![CDATA[
|
||||||
<presence>
|
<presence>
|
||||||
<c xmlns='http://jabber.org/protocol/caps'
|
<c xmlns='http://jabber.org/protocol/caps'
|
||||||
hash='sha-1'
|
node='http://code.google.com/p/exodus/'
|
||||||
node='http://code.google.com/p/exodus/;0.9.1'
|
|
||||||
ver='8RovUdtOmiAjzj+xI7SK5BCw3A8='/>
|
ver='8RovUdtOmiAjzj+xI7SK5BCw3A8='/>
|
||||||
</presence>
|
</presence>
|
||||||
]]></example>
|
]]></example>
|
||||||
@ -321,7 +311,6 @@
|
|||||||
<example caption='Stream feature element including capabilities'><![CDATA[
|
<example caption='Stream feature element including capabilities'><![CDATA[
|
||||||
<stream:features>
|
<stream:features>
|
||||||
<c xmlns='http://jabber.org/protocol/caps'
|
<c xmlns='http://jabber.org/protocol/caps'
|
||||||
hash='sha-1'
|
|
||||||
node='http://jabberd.org/entity'
|
node='http://jabberd.org/entity'
|
||||||
ver='ItBTI0XLDFvVxZ72NQElAzKS9sU='>
|
ver='ItBTI0XLDFvVxZ72NQElAzKS9sU='>
|
||||||
</stream:features>
|
</stream:features>
|
||||||
@ -400,7 +389,6 @@
|
|||||||
<xs:simpleContent>
|
<xs:simpleContent>
|
||||||
<xs:extension base='empty'>
|
<xs:extension base='empty'>
|
||||||
<xs:attribute name='ext' type='xs:NMTOKENS' use='optional'/>
|
<xs:attribute name='ext' type='xs:NMTOKENS' use='optional'/>
|
||||||
<xs:attribute name='hash' type='xs:NMTOKEN' use='required'/>
|
|
||||||
<xs:attribute name='node' type='xs:string' use='required'/>
|
<xs:attribute name='node' type='xs:string' use='required'/>
|
||||||
<xs:attribute name='ver' type='xs:string' use='required'/>
|
<xs:attribute name='ver' type='xs:string' use='required'/>
|
||||||
</xs:extension>
|
</xs:extension>
|
||||||
@ -426,7 +414,7 @@
|
|||||||
<li>When receiving caps information from a legacy entity, an application SHOULD check the 'node', 'ver', and 'ext' combinations as specified in the archived version 1.3 of this specification, and MAY cache the results.</li>
|
<li>When receiving caps information from a legacy entity, an application SHOULD check the 'node', 'ver', and 'ext' combinations as specified in the archived version 1.3 of this specification, and MAY cache the results.</li>
|
||||||
<li>When sending a disco#info request to a legacy entity, an application SHOULD send the request to the entity's JID with a service discovery node of "node#ver".</li>
|
<li>When sending a disco#info request to a legacy entity, an application SHOULD send the request to the entity's JID with a service discovery node of "node#ver".</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>If an application does not support the legacy format, it SHUOLD proceed as follows:</p>
|
<p>If an application does not support the legacy format, it SHOULD proceed as follows:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>When receiving caps information from a legacy entity, an application SHOULD ignore the 'ver' value entirely (since it cannot be verified) and SHOULD NOT cache it, since the application cannot validate the identity and features by checking the hash.</li>
|
<li>When receiving caps information from a legacy entity, an application SHOULD ignore the 'ver' value entirely (since it cannot be verified) and SHOULD NOT cache it, since the application cannot validate the identity and features by checking the hash.</li>
|
||||||
<li>When sending a disco#info request to a legacy entity, an application SHOULD send the request to the entity's JID without a service discovery node of "node#ver".</li>
|
<li>When sending a disco#info request to a legacy entity, an application SHOULD send the request to the entity's JID without a service discovery node of "node#ver".</li>
|
||||||
|
Loading…
Reference in New Issue
Block a user