From 25036cf245f99cb7e659ea662f5c01c9cda08376 Mon Sep 17 00:00:00 2001 From: Peter Saint-Andre Date: Mon, 13 Aug 2007 20:56:58 +0000 Subject: [PATCH] 1.4pre4 git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@1144 4b5297f7-1745-476d-ba37-a9c6900126ab --- xep-0115.xml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/xep-0115.xml b/xep-0115.xml index 42021bf8..c81cd2ce 100644 --- a/xep-0115.xml +++ b/xep-0115.xml @@ -28,8 +28,8 @@ &stpeter; &remko; - 1.4pre3 - in progress, last updated 2007-07-20 + 1.4pre4 + in progress, last updated 2007-08-13 psa/jjh

In response to persistent security concerns over caps poisoning, redefined ver attribute to be a hash of the service discovery identity and features in a way that is backward-compatible with the legacy format.

@@ -118,9 +118,9 @@

This section provides a friendly introduction to entity capabilities.

Imagine that you are a Shakespearean character named Juliet and one of your contacts, a handsome fellow named Romeo, becomes available. His client wants to publish its capabilities, and does this by adding a <c/> element with special attributes to its presence packets. As a result, your client receives the following presence packet:

+ ]]> @@ -129,14 +129,14 @@ ]]>

The response is:

@@ -152,7 +152,7 @@ ]]> @@ -161,7 +161,7 @@ ]]> @@ -169,7 +169,7 @@ ]]> @@ -222,7 +222,7 @@ node - A unique identifier for the software underlying the entity, typically a URL at the website of the project or company that produces the software; although this information is an "FYI" in the current version of entity capabilities, it is required for backward-compatibility with older versions. + A unique identifier for the software underlying the entity, typically a URL at the website of the project or company that produces the software. although this information is an "FYI" in the current version of entity capabilities, it is required for backward-compatibility with older versions. It is RECOMMENDED for the value to identify both the software product and the released version in the form "ProductURL#Version", such as "http://psi-im.org/#0.11". REQUIRED @@ -257,13 +257,13 @@ -

Each time a conformant entity sends presence, it annotates that presence with an entity identifier ('node' attribute) and identity and feature identifier ('ver' attribute). Unless the server optimizations shown later are being used, the client MUST send this with every presence change (except for unavailable presence) to enable existing servers to remember the last presence for use in responding to probes.

+

Each time a conformant entity sends presence, it annotates that presence with an entity identifier ('node' attribute) and identity and feature identifier ('ver' attribute). In order that servers can remember the last presence for use in responding to probes, the client SHOULD include entity capabilities with every presence change.

If the supported features change during a client's presence session (e.g., a user installs an updated version of a client plugin), the application MUST recompute the 'ver' attribute and SHOULD send a new presence broadcast.

]]> @@ -275,7 +275,7 @@ @@ -284,7 +284,7 @@

The entity then returns all of the capabilities it supports.