From 0aae416a7cace8be022b7f665a8c2d566df7989a Mon Sep 17 00:00:00 2001 From: Sam Whited Date: Mon, 28 Sep 2015 15:36:19 -0500 Subject: [PATCH 1/2] Fix a minor issue with an example in EV --- inbox/entityversioning.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inbox/entityversioning.xml b/inbox/entityversioning.xml index b22c9e88..27482357 100644 --- a/inbox/entityversioning.xml +++ b/inbox/entityversioning.xml @@ -349,7 +349,7 @@ - 9ZFZXVP9 From 0abee5101e4780982c3bd5c1099f608a043a4a1c Mon Sep 17 00:00:00 2001 From: Sam Whited Date: Mon, 28 Sep 2015 15:37:01 -0500 Subject: [PATCH 2/2] Add search IQ to entity versioning --- inbox/entityversioning.xml | 42 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/inbox/entityversioning.xml b/inbox/entityversioning.xml index 27482357..12a29fe0 100644 --- a/inbox/entityversioning.xml +++ b/inbox/entityversioning.xml @@ -368,6 +368,47 @@ any) is left up to the server implementation.

+ +

+ When a client has an incomplete versioned list, it may be beneficial to + download more of the list without requesting the full list. To do this, + servers which support entity versioning MUST supply a "search" IQ which + can be used to discover list items matching a certain criteria. What data + to match on (JID, metadata, associated vcards, etc.), and what type of + search are left up to the server implementation and MAY be different + between profiles. +

+

+ Search queries are qualified by the 'urn:xmpp:entityver:0:search' + namespace and MUST have a 'profile' attribute set to the namespace for + which the search is being performed. For instance, searching the roster + looks like the following: + + + + Search term + + + + + + + + 4YAZ7Y38 + + + + ]]> +

+

+ Search results SHOULD be added to the given list's cache. In this way, + the full list does not need to be known. +

+

While the version token approach to caching does not require a great deal @@ -498,6 +539,7 @@ anne@shakespeare.lit:VIZSVF0D,bill@shakespeare.lit:25P2A7H8

This specification defines the following XML namespace:

  • urn:xmpp:entityver:0
  • +
  • urn:xmpp:entityver:0:search

Upon advancement of this specification from a status of Experimental to a