[Standards] LAST CALL: XEP-0198 (Stream Management)

Peter Saint-Andre stpeter at stpeter.im
Tue Jun 2 21:17:37 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 6/2/09 3:01 PM, Dirk Meyer wrote:
> Peter Saint-Andre wrote:
>> On 5/29/09 1:58 PM, Justin Karneges wrote:
>>> That said, I think we ought to put in something about looping the counter, for 
>>> example going back to zero after some maximum.  I suggest that the stanza 
>>> count be defined as a 32-bit unsigned integer, that loops at maximum.  That 
>>> is, (2^32)-1.
>> In schema terms, you are recommending that the datatype shall be
>> unsignedInt <http://www.w3.org/TR/xmlschema-2/#unsignedInt> with
>> minInclusive set to "1" ('h' does not start at zero). Correct?
> 
> When it loops it jumps from (2^32)-1 to 1, skipping 0? This sounds wrong
> to me.

I'm fine with starting at zero on reset, but we have already said that
'h' starts at 1 the first time around. I'd prefer to start in the same
place each time. :)

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

iEYEARECAAYFAkollvEACgkQNL8k5A2w/vzMwwCePjXCgTBlqm+hgsOQJWecb4Jz
SSUAoOaPgMo/ysmivI9cKZ5u06Beltlg
=4P/5
-----END PGP SIGNATURE-----



More information about the Standards mailing list