1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-12-21 23:28:51 -05:00

1.1 published

git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@662 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
Peter Saint-Andre 2007-03-15 18:28:55 +00:00
parent d313555d21
commit 1c52af8028

View File

@ -7,7 +7,7 @@
<xep>
<header>
<title>Stanza Session Negotiation</title>
<abstract>This document specifies a feature negotiation profile for initiating a one-to-one XMPP stanza communication session.</abstract>
<abstract>This document specifies a feature negotiation profile for initiating an exchange of XML stanzas between two entities.</abstract>
&LEGALNOTICE;
<number>0155</number>
<status>Draft</status>
@ -22,14 +22,14 @@
</dependencies>
<supersedes/>
<supersededby/>
<shortname>chatneg</shortname>
<shortname>ssn</shortname>
&ianpaterson;
&stpeter;
<revision>
<version>1.1</version>
<date>2007-03-12</date>
<initials>ip</initials>
<remark><p>Renamed to Stanza Session Negotiation</p></remark>
<date>2007-03-15</date>
<initials>ip/psa</initials>
<remark>With XMPP Council approval, changed name from Chat Session Negotiation to Stanza Session Negotiation; also changed URN to urn:xmpp:ssn.</remark>
</revision>
<revision>
<version>1.0</version>
@ -201,7 +201,7 @@ PENDING o---------------+
<x xmlns='jabber:x:data' type='form'>
<title>Open chat with Romeo?</title>
<field var='FORM_TYPE' type='hidden'>
<value>urn:xmpp:chatneg</value>
<value>urn:xmpp:ssn</value>
</field>
<field label='Accept this session?' type='boolean' var='accept'>
<value>true</value>
@ -289,7 +289,7 @@ PENDING o---------------+
<feature xmlns='http://jabber.org/protocol/feature-neg'>
<x xmlns='jabber:x:data' type='submit'>
<field var='FORM_TYPE'>
<value>urn:xmpp:chatneg</value>
<value>urn:xmpp:ssn</value>
</field>
<field var='accept'><value>true</value></field>
<field var='logging'><value>mustnot</value></field>
@ -319,7 +319,7 @@ PENDING o---------------+
<feature xmlns='http://jabber.org/protocol/feature-neg'>
<x xmlns='jabber:x:data' type='submit'>
<field var='FORM_TYPE'>
<value>urn:xmpp:chatneg</value>
<value>urn:xmpp:ssn</value>
</field>
<field var='accept'><value>0</value></field>
</x>
@ -327,7 +327,7 @@ PENDING o---------------+
<body>Sorry, can't chat now! How about tonight?</body>
</message>
]]></example>
<p>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:</p>
<p>If the contact's client does not support feature negotiation or does not support the "urn:xmpp:ssn" FORM_TYPE, it SHOULD return a &unavailable; error:</p>
<example caption="Contact returns service unavailable error"><![CDATA[
<message type='error'
from='juliet@capulet.com/balcony'
@ -336,7 +336,7 @@ PENDING o---------------+
<feature xmlns='http://jabber.org/protocol/feature-neg'>
<x xmlns='jabber:x:data' type='form'>
<field var='FORM_TYPE' type='hidden'>
<value>urn:xmpp:chatneg</value>
<value>urn:xmpp:ssn</value>
</field>
...
</x>
@ -355,7 +355,7 @@ PENDING o---------------+
<feature xmlns='http://jabber.org/protocol/feature-neg'>
<x xmlns='jabber:x:data' type='form'>
<field var='FORM_TYPE' type='hidden'>
<value>urn:xmpp:chatneg</value>
<value>urn:xmpp:ssn</value>
</field>
...
</x>
@ -377,7 +377,7 @@ PENDING o---------------+
<feature xmlns='http://jabber.org/protocol/feature-neg'>
<x xmlns='jabber:x:data' type='form'>
<field var='FORM_TYPE' type='hidden'>
<value>urn:xmpp:chatneg</value>
<value>urn:xmpp:ssn</value>
</field>
...
</x>
@ -401,7 +401,7 @@ PENDING o---------------+
<feature xmlns='http://jabber.org/protocol/feature-neg'>
<x xmlns='jabber:x:data' type='result'>
<field var='FORM_TYPE'>
<value>urn:xmpp:chatneg</value>
<value>urn:xmpp:ssn</value>
</field>
<field var='accept'><value>true</value></field>
</x>
@ -418,7 +418,7 @@ PENDING o---------------+
<feature xmlns='http://jabber.org/protocol/feature-neg'>
<x xmlns='jabber:x:data' type='result'>
<field var='FORM_TYPE'>
<value>urn:xmpp:chatneg</value>
<value>urn:xmpp:ssn</value>
</field>
<field var='accept'><value>0</value></field>
</x>
@ -437,7 +437,7 @@ PENDING o---------------+
<feature xmlns='http://jabber.org/protocol/feature-neg'>
<x xmlns='jabber:x:data' type='submit'>
<field var='FORM_TYPE'>
<value>urn:xmpp:chatneg</value>
<value>urn:xmpp:ssn</value>
</field>
<field var='continue'><value>PDA</value></field>
</x>
@ -454,7 +454,7 @@ PENDING o---------------+
<feature xmlns='http://jabber.org/protocol/feature-neg'>
<x xmlns='jabber:x:data' type='result'>
<field var='FORM_TYPE'>
<value>urn:xmpp:chatneg</value>
<value>urn:xmpp:ssn</value>
</field>
<field var='continue'><value>PDA</value></field>
</x>
@ -473,7 +473,7 @@ PENDING o---------------+
<feature xmlns='http://jabber.org/protocol/feature-neg'>
<x xmlns='jabber:x:data' type='form'>
<field var='FORM_TYPE' type='hidden'>
<value>urn:xmpp:chatneg</value>
<value>urn:xmpp:ssn</value>
</field>
<field label='Renegotiate?' type='boolean' var='renegotiate'>
<value>1</value>
@ -500,7 +500,7 @@ PENDING o---------------+
<feature xmlns='http://jabber.org/protocol/feature-neg'>
<x xmlns='jabber:x:data' type='submit'>
<field var='FORM_TYPE'>
<value>urn:xmpp:chatneg</value>
<value>urn:xmpp:ssn</value>
</field>
<field var='renegotiate'><value>1</value></field>
<field var='logging'><value>may</value></field>
@ -520,7 +520,7 @@ PENDING o---------------+
<feature xmlns='http://jabber.org/protocol/feature-neg'>
<x xmlns='jabber:x:data' type='submit'>
<field var='FORM_TYPE'>
<value>urn:xmpp:chatneg</value>
<value>urn:xmpp:ssn</value>
</field>
<field var='renegotiate'><value>0</value></field>
<field var='logging'><value>may</value></field>
@ -540,7 +540,7 @@ PENDING o---------------+
<feature xmlns='http://jabber.org/protocol/feature-neg'>
<x xmlns='jabber:x:data' type='submit'>
<field var='FORM_TYPE'>
<value>urn:xmpp:chatneg</value>
<value>urn:xmpp:ssn</value>
</field>
<field var='terminate'><value>1</value></field>
</x>
@ -557,7 +557,7 @@ PENDING o---------------+
<feature xmlns='http://jabber.org/protocol/feature-neg'>
<x xmlns='jabber:x:data' type='result'>
<field var='FORM_TYPE'>
<value>urn:xmpp:chatneg</value>
<value>urn:xmpp:ssn</value>
</field>
<field var='terminate'><value>1</value></field>
</x>
@ -611,13 +611,13 @@ PENDING o---------------+
</section1>
<section1 topic='XMPP Registrar Considerations' anchor='registrar'>
<section2 topic='Protocol Namespaces' anchor='ns'>
<p>The &REGISTRAR; includes 'urn:xmpp:chatneg' in its registry of protocol namespaces (see &NAMESPACES;).</p>
<p>The &REGISTRAR; includes 'urn:xmpp:ssn' in its registry of protocol namespaces (see &NAMESPACES;).</p>
</section2>
<section2 topic='Service Discovery Features' anchor='registrar-features'>
<p>The XMPP Registrar includes 'urn:xmpp:chatneg' in its registry of Service Discovery features (see &DISCOFEATURES;).</p>
<p>The XMPP Registrar includes 'urn:xmpp:ssn' in its registry of Service Discovery features (see &DISCOFEATURES;).</p>
<code caption='Registry Submission'><![CDATA[
<var>
<name>urn:xmpp:chatneg</name>
<name>urn:xmpp:ssn</name>
<desc>Support for Stanza Session Negotiation and its FORM_TYPE</desc>
<doc>XEP-0155</doc>
</var>
@ -627,7 +627,7 @@ PENDING o---------------+
<p>&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 Stanza Session Negotiation (see &FORMTYPES;):</p>
<code caption='Registry Submission'><![CDATA[
<form_type>
<name>urn:xmpp:chatneg</name>
<name>urn:xmpp:ssn</name>
<doc>XEP-0155</doc>
<desc>
Forms enabling negotation of a one-to-one