mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-22 09:12:19 -05:00
type is required by XEP-0030
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@3461 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
parent
52c2e60950
commit
80d33f84f8
@ -273,7 +273,7 @@
|
|||||||
<p>Note: All sorting operations MUST be performed using "i;octet" collation as specified in Section 9.3 of &rfc4790;.</p>
|
<p>Note: All sorting operations MUST be performed using "i;octet" collation as specified in Section 9.3 of &rfc4790;.</p>
|
||||||
<ol start='1'>
|
<ol start='1'>
|
||||||
<li>Initialize an empty string S.</li>
|
<li>Initialize an empty string S.</li>
|
||||||
<li>Sort the service discovery identities <note>A registry of service discovery identities is located at &DISCOCATEGORIES;.</note> by category and then by type and then by xml:lang (if it exists), formatted as CATEGORY '/' [TYPE] '/' [LANG] '/' [NAME]. <note>The combination of category, type, and xml:lang forms a unique combination, so it is not necessary to also sort by name (the name merely provides some human-readable text associated with a category/type/lang).</note> Note that each slash is included even if the TYPE, LANG, or NAME is not included.</li>
|
<li>Sort the service discovery identities <note>A registry of service discovery identities is located at &DISCOCATEGORIES;.</note> by category and then by type and then by xml:lang (if it exists), formatted as CATEGORY '/' [TYPE] '/' [LANG] '/' [NAME]. <note>The combination of category, type, and xml:lang forms a unique combination, so it is not necessary to also sort by name (the name merely provides some human-readable text associated with a category/type/lang).</note> Note that each slash is included even if the LANG or NAME is not included (in accordance with <cite>XEP-0030</cite>, the category and type MUST be included.</li>
|
||||||
<li>For each identity, append the 'category/type/lang/name' to S, followed by the '<' character.</li>
|
<li>For each identity, append the 'category/type/lang/name' to S, followed by the '<' character.</li>
|
||||||
<li>Sort the supported service discovery features. <note>A registry of service discovery features is located at &DISCOFEATURES;.</note></li>
|
<li>Sort the supported service discovery features. <note>A registry of service discovery features is located at &DISCOFEATURES;.</note></li>
|
||||||
<li>For each feature, append the feature to S, followed by the '<' character.</li>
|
<li>For each feature, append the feature to S, followed by the '<' character.</li>
|
||||||
|
Loading…
Reference in New Issue
Block a user