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. We would need to decide what to do where we currently set ver='0' though. Matthew
