No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

xep-0094.xml 6.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <!DOCTYPE xep SYSTEM 'xep.dtd' [
  3. <!ENTITY % ents SYSTEM 'xep.ent'>
  4. %ents;
  5. ]>
  6. <?xml-stylesheet type='text/xsl' href='xep.xsl'?>
  7. <xep>
  8. <header>
  9. <title>Agent Information</title>
  10. <abstract>This specification provides canonical documentation of the obsolete Agent Information namespace. Note: This document has been superseded by XEP-0030: Service Discovery.</abstract>
  11. &LEGALNOTICE;
  12. <number>0094</number>
  13. <status>Obsolete</status>
  14. <type>Historical</type>
  15. <sig>Standards</sig>
  16. <dependencies>
  17. <spec>XMPP Core</spec>
  18. </dependencies>
  19. <supersedes/>
  20. <supersededby>
  21. <spec>XEP-0030</spec>
  22. </supersededby>
  23. <shortname>iq-agents</shortname>
  24. &stpeter;
  25. <revision>
  26. <version>0.3</version>
  27. <date>2003-10-08</date>
  28. <initials>psa</initials>
  29. <remark>Per a vote of the Jabber Council, changed status to Obsolete. The protocol described herein is accurately defined but actively deprecated in favor of Service Discovery (XEP-0030).</remark>
  30. </revision>
  31. <revision>
  32. <version>0.2</version>
  33. <date>2003-09-24</date>
  34. <initials>psa</initials>
  35. <remark>Added 'irc' to the values for the &lt;service/&gt; element; made several small textual changes.</remark>
  36. </revision>
  37. <revision>
  38. <version>0.1</version>
  39. <date>2003-05-23</date>
  40. <initials>psa</initials>
  41. <remark>Initial version.</remark>
  42. </revision>
  43. </header>
  44. <section1 topic='Introduction'>
  45. <p>Over the years there have been three different protocols used in the Jabber community to discover information about other entities on the network. The most recent protocol, and the only one that is standards-track, is &xep0030;. The protocol prior to Service Discovery was &xep0011;. Before Jabber Browsing, there was the 'jabber:iq:agents' namespace. This specification provides historical documentation for the Agent Information protocol.</p>
  46. <p>Note well that the Agent Information protocol is deprecated; applications desiring such functionality SHOULD implement Service Discovery. This specification is provided only in order to ensure complete documentation of earlier protocols.</p>
  47. </section1>
  48. <section1 topic='Definition'>
  49. <p>The 'jabber:iq:agents' namespace was used to obtain a list of entities associated with another Jabber Entity; most commonly, the list of trusted services associated with a specific host.</p>
  50. <p>When 'jabber:iq:agents' is used, information about available agents properties is contained within a &lt;query/&gt; element that is scoped by the 'jabber:iq:agents' namespace. The reply to a request of type "get" in the 'jabber:iq:agents' namespace contains zero or more &lt;agent/&gt; elements. The &lt;agent/&gt; element has a required 'jid' attribute that contains the Jabber Identifier of each agent. The &lt;agent/&gt; element in turn may contain the following children:</p>
  51. <ul>
  52. <li>name - a natural-language name for the service</li>
  53. <li>description - a short phrase describing the service</li>
  54. <li>transport - inclusion of this empty element signals that the service is a gateway to a non-Jabber instant messaging system</li>
  55. <li>groupchat - inclusion of this empty element signals that the service is multi-user chat service</li>
  56. <li>service - the CDATA of this element specifies the type of gateway (aim, icq, irc, msn, yahoo), the type of conferencing service (public or private), or user directory (jud); these values were never standardized and are not registered with the XMPP Registrar</li>
  57. <li>register - inclusion of this empty element signals that the service supports registration</li>
  58. <li>search - inclusion of this empty element signals that the service supports searching</li>
  59. </ul>
  60. </section1>
  61. <section1 topic='Examples'>
  62. <example caption='Request for Agents List'><![CDATA[
  63. <iq id='agents1' type='get' to='shakespeare.lit'>
  64. <query xmlns='jabber:iq:agents'/>
  65. </iq>
  66. ]]></example>
  67. <example caption='Reply Containing Agents List'><![CDATA[
  68. <iq
  69. to='juliet@capulet.com/balcony'
  70. from='shakespeare.lit'
  71. type='result'
  72. id='agents1'>
  73. <query xmlns='jabber:iq:agents'>
  74. <agent jid='users.shakespeare.lit'>
  75. <name>Jabber User Directory</name>
  76. <service>jud</service>
  77. <search/>
  78. <register/>
  79. </agent>
  80. <agent jid='chat.shakespeare.lit'>
  81. <name>Conferencing Service</name>
  82. <service>public</service>
  83. <groupchat/>
  84. </agent>
  85. </query>
  86. </iq>
  87. ]]></example>
  88. </section1>
  89. <section1 topic='Security Considerations'>
  90. <p>There are no security features or concerns related to this proposal.</p>
  91. </section1>
  92. <section1 topic='IANA Considerations'>
  93. <p>This document requires no interaction with &IANA;.</p>
  94. </section1>
  95. <section1 topic='XMPP Registrar Considerations'>
  96. <p>No action on the part of the &REGISTRAR; is necessary as a result of this document, since 'jabber:iq:agents' is already a registered namespace.</p>
  97. </section1>
  98. <section1 topic='XML Schema'>
  99. <code><![CDATA[
  100. <?xml version='1.0' encoding='UTF-8'?>
  101. <xs:schema
  102. xmlns:xs='http://www.w3.org/2001/XMLSchema'
  103. targetNamespace='jabber:iq:agents'
  104. xmlns='jabber:iq:agents'
  105. elementFormDefault='qualified'>
  106. <xs:element name='query'>
  107. <xs:complexType>
  108. <xs:sequence minOccurs='0'>
  109. <xs:element ref='agent' minOccurs='0' maxOccurs='unbounded'/>
  110. </xs:sequence>
  111. </xs:complexType>
  112. </xs:element>
  113. <xs:element name='agent'>
  114. <xs:complexType>
  115. <xs:sequence>
  116. <xs:element ref='name' minOccurs='0' maxOccurs='1'/>
  117. <xs:element ref='description' minOccurs='0' maxOccurs='1'/>
  118. <xs:element ref='transport' minOccurs='0' maxOccurs='1'/>
  119. <xs:element ref='groupchat' minOccurs='0' maxOccurs='1'/>
  120. <xs:element ref='service' minOccurs='0' maxOccurs='1'/>
  121. <xs:element ref='register' minOccurs='0' maxOccurs='1'/>
  122. <xs:element ref='search' minOccurs='0' maxOccurs='1'/>
  123. </xs:sequence>
  124. <xs:attribute name='jid' type='xs:string' use='required'/>
  125. </xs:complexType>
  126. </xs:element>
  127. <xs:element name='name' type='xs:string'/>
  128. <xs:element name='description' type='xs:string'/>
  129. <xs:element name='transport'/>
  130. <xs:element name='groupchat'/>
  131. <xs:element name='service' type='xs:string'/>
  132. <xs:element name='register'/>
  133. <xs:element name='search'/>
  134. </xs:schema>
  135. ]]></code>
  136. </section1>
  137. </xep>