[Standards] LAST CALL: XEP-0198 (Stream Management)
stpeter at stpeter.im
Tue Jun 2 20:44:07 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
On 5/29/09 1:58 PM, Justin Karneges wrote:
> On Friday 29 May 2009 05:11:34 Dirk Meyer wrote:
>> | The 'h' attribute identifies the last handled stanza (i.e., the last
>> | stanza that the receiver will acknowledge as having received).
>> I wonder if I start at 1 again after each ack. The examples in 8.1
>> increase the number while example 22 in 8.2 resets the counter.
> The example in 8.2 is wrong, it should not have started over.
> 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?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Standards