diff --git a/xep-0155.xml b/xep-0155.xml index 7f78f322..4ab21b6c 100644 --- a/xep-0155.xml +++ b/xep-0155.xml @@ -10,7 +10,7 @@ This document specifies a feature negotiation profile for initiating a one-to-one XMPP chat session. &LEGALNOTICE; 0155 - Proposed + Draft Standards Track Standards Council @@ -22,9 +22,15 @@ - TO BE ASSIGNED + chatneg &ianpaterson; &stpeter; + + 1.0 + 2007-01-17 + psa +

Per a vote of the XMPP Council, advanced specification to Draft.

+
0.14 2006-12-21 @@ -177,7 +183,7 @@ PENDING o---------------+ -

In order to initiate a negotiated chat session, the initiating party ("user") sends a &MESSAGE; The &MESSAGE; stanza is used because the user does not necessarily know which of the contact's resources is most available (or indeed if the contact is online). stanza to the receiving party ("contact") containing a <feature/> child qualified by the 'http://jabber.org/protocol/feature-neg' namespace. The &MESSAGE; stanza MUST NOT contain a &BODY; child element (as specified in &rfc3921;). The &MESSAGE; stanza type SHOULD be "normal" (either explicitly or by non-inclusion of the 'type' attribute). The stanza MUST contain a &THREAD; element for tracking purposes (where the newly-generated ThreadID is unique to the proposed session). The data form MUST contain a hidden FORM_TYPE field whose value is "http://www.xmpp.org/extensions/xep-0155.html#ns" and MUST contain a boolean field named "accept". &BOOLEANNOTE; The inclusion of "logging", "disclosure" and "security" fields is also RECOMMENDED. Note: The options within any 'list-single' fields SHOULD appear in order of preference.

+

In order to initiate a negotiated chat session, the initiating party ("user") sends a &MESSAGE; The &MESSAGE; stanza is used because the user does not necessarily know which of the contact's resources is most available (or indeed if the contact is online). stanza to the receiving party ("contact") containing a <feature/> child qualified by the 'http://jabber.org/protocol/feature-neg' namespace. The &MESSAGE; stanza MUST NOT contain a &BODY; child element (as specified in &rfc3921;). The &MESSAGE; stanza type SHOULD be "normal" (either explicitly or by non-inclusion of the 'type' attribute). The stanza MUST contain a &THREAD; element for tracking purposes (where the newly-generated ThreadID is unique to the proposed session). The data form MUST contain a hidden FORM_TYPE field whose value is "urn:xmpp:chatneg" and MUST contain a boolean field named "accept". &BOOLEANNOTE; The inclusion of "logging", "disclosure" and "security" fields is also RECOMMENDED. Note: The options within any 'list-single' fields SHOULD appear in order of preference.

Note: Chat sessions may be conducted between entities who are never online at the same time. However, if the user is interested only in an immediate chat session then the user SHOULD instruct the contact's server not to store the message for later delivery (see &xep0160;) using the &xep0079; protocol.

In the following example of a negotiation request, Romeo requests a chat with Juliet and also queries her regarding whether she is able to disallow all message logging (see &xep0136;) A client MUST NOT set the 'logging' field to 'mustnot' unless it has confirmed that its server will allow it to switch off Automated Archiving (see Message Archiving)., whether she wants to temporarily share presence for this session (see the Sharing Presence section of this document), and whether she wants to support the &xep0071; and &xep0085; extensions during this chat session. He asks Juliet's client if it is prepared to make a (legally binding) guarantee that it does not intentionally implement any feature (not even a disabled feature) that might disclose the content of the chat, any associated (decryption) keys, or his identity to any third-party (see Encrypted Session Negotiation). He also requires that they are both connected securely to their servers, and asks which language she prefers amongst those he can write. (Note: These fields are examples only; a full set of chat session negotiation parameters will be registered as described in the XMPP Registrar Considerations section of this document.)

Open chat with Romeo? - http://www.xmpp.org/extensions/xep-0155.html#ns + urn:xmpp:chatneg true @@ -277,7 +283,7 @@ PENDING o---------------+ - http://www.xmpp.org/extensions/xep-0155.html#ns + urn:xmpp:chatneg true mustnot @@ -307,7 +313,7 @@ PENDING o---------------+ - http://www.xmpp.org/extensions/xep-0155.html#ns + urn:xmpp:chatneg 0 @@ -315,7 +321,7 @@ PENDING o---------------+ Sorry, can't chat now! How about tonight? ]]> -

If the contact's client does not support feature negotiation or does not support the "http://www.xmpp.org/extensions/xep-0155.html#ns" FORM_TYPE, it SHOULD return a &unavailable; error:

+

If the contact's client does not support feature negotiation or does not support the "urn:xmpp:chatneg" FORM_TYPE, it SHOULD return a &unavailable; error:

- http://www.xmpp.org/extensions/xep-0155.html#ns + urn:xmpp:chatneg ... @@ -343,7 +349,7 @@ PENDING o---------------+ - http://www.xmpp.org/extensions/xep-0155.html#ns + urn:xmpp:chatneg ... @@ -365,7 +371,7 @@ PENDING o---------------+ - http://www.xmpp.org/extensions/xep-0155.html#ns + urn:xmpp:chatneg ... @@ -389,7 +395,7 @@ PENDING o---------------+ - http://www.xmpp.org/extensions/xep-0155.html#ns + urn:xmpp:chatneg true @@ -406,7 +412,7 @@ PENDING o---------------+ - http://www.xmpp.org/extensions/xep-0155.html#ns + urn:xmpp:chatneg 0 @@ -425,7 +431,7 @@ PENDING o---------------+ - http://www.xmpp.org/extensions/xep-0155.html#ns + urn:xmpp:chatneg PDA @@ -442,7 +448,7 @@ PENDING o---------------+ - http://www.xmpp.org/extensions/xep-0155.html#ns + urn:xmpp:chatneg PDA @@ -461,7 +467,7 @@ PENDING o---------------+ - http://www.xmpp.org/extensions/xep-0155.html#ns + urn:xmpp:chatneg 1 @@ -488,7 +494,7 @@ PENDING o---------------+ - http://www.xmpp.org/extensions/xep-0155.html#ns + urn:xmpp:chatneg 1 may @@ -508,7 +514,7 @@ PENDING o---------------+ - http://www.xmpp.org/extensions/xep-0155.html#ns + urn:xmpp:chatneg 0 may @@ -528,7 +534,7 @@ PENDING o---------------+ - http://www.xmpp.org/extensions/xep-0155.html#ns + urn:xmpp:chatneg 1 @@ -545,7 +551,7 @@ PENDING o---------------+ - http://www.xmpp.org/extensions/xep-0155.html#ns + urn:xmpp:chatneg 1 @@ -599,23 +605,23 @@ PENDING o---------------+
-

Until this specification advances to a status of Draft, its associated namespace (as used in the negotiation FORM_TYPE) shall be "http://www.xmpp.org/extensions/xep-0155.html#ns"; upon advancement of this specification, the XMPP Registrar shall issue a permanent namespace in accordance with the process defined in Section 4 of &xep0053;.

+

The ®ISTRAR; includes 'urn:xmpp:chatneg' in its registry of protocol namespaces (see &NAMESPACES;).

-

The ®ISTRAR; shall include 'http://www.xmpp.org/extensions/xep-0155.html#ns' in its registry of Service Discovery features.

+

The XMPP Registrar includes 'urn:xmpp:chatneg' in its registry of Service Discovery features (see &DISCOFEATURES;).

- http://www.xmpp.org/extensions/xep-0155.html#ns + urn:xmpp:chatneg Support for Chat Session Negotiation and its FORM_TYPE XEP-0155 ]]>
-

&xep0068; defines a process for standardizing the fields used within Data Forms qualified by a particular namespace. The following fields shall be registered for use in Chat Session Negotiation:

+

&xep0068; defines a process for standardizing the fields used within Data Forms qualified by a particular namespace. The following fields are registered for use in Chat Session Negotiation (see &FORMTYPES;):

- http://www.xmpp.org/extensions/xep-0155.html#ns + urn:xmpp:chatneg XEP-0155 Forms enabling negotation of a one-to-one @@ -715,7 +721,7 @@ PENDING o---------------+
-

This proposal re-uses the format defined in XEP-0020 and therefore does not require a separate schema.

+

This proposal re-uses the format defined in XEP-0020 and therefore does not require a dedicated schema.

Thanks to Thomas Charron and Jean-Louis Seguineau for their feedback.