From d7dc11d3ae7fd6cd73827747e1a0d677b5516701 Mon Sep 17 00:00:00 2001 From: Peter Saint-Andre Date: Tue, 7 Apr 2009 21:54:42 +0000 Subject: [PATCH] further schema corrections git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@3009 4b5297f7-1745-476d-ba37-a9c6900126ab --- xep-0206.xml | 67 +++++++++++++++------------------------------------- 1 file changed, 19 insertions(+), 48 deletions(-) diff --git a/xep-0206.xml b/xep-0206.xml index e6b0b5b8..6e8ae7d0 100644 --- a/xep-0206.xml +++ b/xep-0206.xml @@ -30,7 +30,7 @@ 1.2 2008-10-29 psa -

Clarified handling of xmpp:restart -- client MUST send the restart and the body MUST be empty; removed IM session establishment examples because that protocol is deprecated in rfc3921bis; corrected XML schema.

+

Clarified handling of xbosh restart -- client MUST send the restart and the body MUST be empty; removed IM session establishment examples because that protocol is deprecated in rfc3921bis; corrected XML schema.

1.1 @@ -63,7 +63,7 @@ -

The client SHOULD include an 'xmpp:version' attribute qualified by the 'urn:xmpp:xbosh' namespace in its session creation request. This attribute corresponds to the 'version' attribute of the XMPP <stream:stream/> element as defined in RFC 3920. The connection manager SHOULD forward the value to the XMPP server accordingly.

+

The client SHOULD include a 'version' attribute qualified by the 'urn:xmpp:xbosh' namespace in its session creation request. This attribute corresponds to the 'version' attribute of the XMPP <stream:stream/> element as defined in RFC 3920. The connection manager SHOULD forward the value to the XMPP server accordingly.

-

The connection manager SHOULD include an 'xmpp:version' attribute (qualified by the 'urn:xmpp:xbosh' namespace) and a <stream:features/> element (qualified by the 'http://etherx.jabber.org/streams' namespace) in a response as soon as they are available, either in its session creation response, or (if it has not yet received them from the XMPP server) in any subsequent response.

+

The connection manager SHOULD include a 'version' attribute (qualified by the 'urn:xmpp:xbosh' namespace) and a <stream:features/> element (qualified by the 'http://etherx.jabber.org/streams' namespace) in a response as soon as they are available, either in its session creation response, or (if it has not yet received them from the XMPP server) in any subsequent response.

Note: The same procedure applies to the obsolete XMPP-specific 'authid' attribute of the BOSH <body/> element, which contains the value of the XMPP stream ID generated by the XMPP server. This value is needed only by legacy XMPP clients in order to complete digest authentication using the obsolete &xep0078; protocol. Separate 'sid' and 'authid' attributes are required because the connection manager is not necessarily part of a single XMPP server (e.g., it may handle HTTP connections on behalf of multiple XMPP servers).

Note: The client SHOULD ignore any Transport Layer Security (TLS) feature since BOSH channel encryption SHOULD be negotiated at the HTTP layer.

TLS compression (as defined in RFC 3920) and Stream Compression (as defined in &xep0138;) are NOT RECOMMENDED since compression SHOULD be negotiated at the HTTP layer using the 'accept' attribute of the BOSH session creation response. TLS compression and Stream Compression SHOULD NOT be used at the same time as HTTP content encoding.

-

Note: The 'xmpp:version' attribute SHOULD also be included on the request and response when adding new streams to a session.

+

Note: The 'version' attribute qualified by the 'urn:xmpp:xbosh' namespace SHOULD also be included on the request and response when adding new streams to a session.

@@ -220,7 +220,7 @@ Content-Length: 121 ]]>

Upon receiving the <success/> element, the client MUST then ask the connection manager to restart the stream by sending a "restart request" that is structured as follows:

    -
  • The BOSH <body/> element MUST include a boolean 'xmpp:restart' attribute (qualified by the 'urn:xmpp:xbosh' namespace) whose value is "true" &BOOLEANNOTE;.
  • +
  • The BOSH <body/> element MUST include a boolean 'restart' attribute (qualified by the 'urn:xmpp:xbosh' namespace) whose value is "true" &BOOLEANNOTE;.
  • The BOSH <body/> element SHOULD include the 'to' attribute.
  • The BOSH <body/> element SHOULD include the 'xml:lang' attribute.
  • The BOSH <body/> element SHOULD be empty (i.e., not contain an XML stanza). However, if the client includes an XML stanza in the body, the connection manager SHOULD ignore it. It is known that some connection manager implementations accept an XML stanza in the body of the restart request and send that stanza to the server when the stream is restarted; however there is no guarantee that a connection manager will send the stanza so a client cannot rely on this behavior.
  • @@ -346,9 +346,9 @@ Content-Length: 68 + elementFormDefault='qualified'> @@ -357,51 +357,22 @@ Content-Length: 68 - + - - - - - - xmlns:xmpp='urn:xmpp:xbosh'> - - - - - - - - - - - - + ]]> + +

    Thanks to Kevin Winters for his assistance with the schema.

    +
    +