mirror of
https://github.com/moparisthebest/xeps
synced 2024-12-22 07:38:52 -05:00
corrections
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@1039 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
parent
7f18520258
commit
0c4daf26d3
@ -124,7 +124,7 @@
|
|||||||
</presence>
|
</presence>
|
||||||
]]></code>
|
]]></code>
|
||||||
<p>The 'node' attribute represents the client Romeo is using. The 'ver' attribute is a specially-constructed string that represents the identity (see &DISCOCATEGORIES;) and supported features (see &DISCOFEATURES;) of the entity.</p>
|
<p>The 'node' attribute represents the client Romeo is using. The 'ver' attribute is a specially-constructed string that represents the identity (see &DISCOCATEGORIES;) and supported features (see &DISCOFEATURES;) of the entity.</p>
|
||||||
<p>At this point, your client has no idea what the capabilities are of someone with a client string 'http://exodus.jabberstudio.org/caps' and a version string '8RovUdtOmiAjzj+xI7SK5BCw3A8='. Your client therefore sends a service discovery query to Romeo, asking what his client can do (note that the disco#info query is sent to a node of "node#ver"):</p>
|
<p>At this point, your client has no idea what the capabilities are of someone with a client string 'http://exodus.jabberstudio.org/caps' and a version string '8RovUdtOmiAjzj+xI7SK5BCw3A8='. Your client therefore sends a service discovery query to Romeo, asking what his client can do.</p>
|
||||||
<code><![CDATA[
|
<code><![CDATA[
|
||||||
<iq type='get' from='juliet@capulet.lit/chamber' to='romeo@montague.lit/home' id='disco1'>
|
<iq type='get' from='juliet@capulet.lit/chamber' to='romeo@montague.lit/home' id='disco1'>
|
||||||
<query xmlns='http://jabber.org/protocol/disco#info'
|
<query xmlns='http://jabber.org/protocol/disco#info'
|
||||||
@ -147,7 +147,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'
|
||||||
node='http://exodus.jabberstudio.org/caps'
|
node='http://psi-im.org/caps'
|
||||||
ver='8RovUdtOmiAjzj+xI7SK5BCw3A8='/>
|
ver='8RovUdtOmiAjzj+xI7SK5BCw3A8='/>
|
||||||
</presence>
|
</presence>
|
||||||
]]></code>
|
]]></code>
|
||||||
@ -245,7 +245,7 @@
|
|||||||
<li>Only one identity: client/pc</li>
|
<li>Only one identity: client/pc</li>
|
||||||
<li>E = 'client/pc<'</li>
|
<li>E = 'client/pc<'</li>
|
||||||
<li>Sort the features: "http://jabber.org/protocol/disco#info", "http://jabber.org/protocol/disco#items", "http://jabber.org/protocol/muc".</li>
|
<li>Sort the features: "http://jabber.org/protocol/disco#info", "http://jabber.org/protocol/disco#items", "http://jabber.org/protocol/muc".</li>
|
||||||
<li>E = 'client/pc<http://jabber.org/protocol/disco#info<http://jabber.org/protocol/disco#items<<http://jabber.org/protocol/muc<'</li>
|
<li>E = 'client/pc<http://jabber.org/protocol/disco#info<http://jabber.org/protocol/disco#items<http://jabber.org/protocol/muc<'</li>
|
||||||
<li>ver = 8RovUdtOmiAjzj+xI7SK5BCw3A8=</li>
|
<li>ver = 8RovUdtOmiAjzj+xI7SK5BCw3A8=</li>
|
||||||
</ol>
|
</ol>
|
||||||
</section1>
|
</section1>
|
||||||
|
Loading…
Reference in New Issue
Block a user