-----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?

His argument was that the server might make the 'ver' attribute
something like a hash of the roster, which would be opaque to the client
but meaningful to the server so that it could figure out if it would
return an empty IQ-result or the full roster (leaving aside the roster
push for now). That seems like a perfectly acceptable approach to me as
a minimal implementation, so I'm wondering if we want to say that the
'ver' value needs to be opaque to the user but meaningful to the server,
and that one possible implementation is a strictly increasing sequence
number.

(Side note: I can definitely envision "smart" clients thinking that the
strictly increasing sequence numbers have semantic meaning and trying to
second-guess the server, so it's not clear to me how opaque such a
number really is...)

Peter

- --
Peter Saint-Andre
https://stpeter.im/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknwr9sACgkQNL8k5A2w/vz37ACfQTS3ti07ZUWOlFZxPuKN+PNr
0egAnRD/fQvVaaqVBpf9vpTS3zlWCSP+
=er/b
-----END PGP SIGNATURE-----

Reply via email to