On Thu Apr 23 19:30:29 2009, Matthew Wild wrote:
On Thu, Apr 23, 2009 at 7:13 PM, Peter Saint-Andre
<[email protected]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I just chatted with Jonas Lindberg via IM about the requirement in
> XEP-0237 that the value of the 'ver' attribute is a strictly
increasing
> sequence number. Other than the similarity to IMAP CONDSTORE, is
there
> any strong reason why this is (or seems to be) a MUST?
>
I'm in favour of it being opaque. I don't see any reason the client
needs to know the sequence number, and it would help server-side
implementations a lot. At the end of the day it is simply a token to
mark for the server the current revision stored by the client.
Failing
to recognise the revision the server can simply send the full roster
anyway.
The only reason I prefer a strictly increasing number is that it
makes things much easier to debug, from a client authors perspective.
But I'm not going to object if the consensus is to go for something
much more opaque.
We would need to decide what to do where we currently set ver='0'
though.
We just need to stick with some ver value which is special. An empty
string works.
Dave.
--
Dave Cridland - mailto:[email protected] - xmpp:[email protected]
- acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
- http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade