[Council] Fwd: Re: [Standards] XEP-0198: errors in stanza counting?
stpeter at stpeter.im
Tue Apr 19 21:39:10 UTC 2011
Could someone from the Council please give this a quick sanity check? I
have a revised version of XEP-0198 ready to publish if we decide this is
-------- Original Message --------
Subject: Re: [Standards] XEP-0198: errors in stanza counting?
Date: Thu, 14 Apr 2011 15:09:27 -0600
From: Peter Saint-Andre <stpeter at stpeter.im>
Reply-To: XMPP Standards <standards at xmpp.org>
To: XMPP Standards <standards at xmpp.org>
On 4/14/11 2:36 PM, Yann Leboulanger wrote:
> I just re-read XEP-0198 (Stream management), and I'm not sure about the
> way stanza are counted. In example 17, shouldn't client answer with h=1?
> It already received his roster, so h should be 1.
That sure seems to be wrong in the example, because at that point the
client has received one stanza.
This implies that in Example 19 it should be h='2', not h='1'.
> And in example 21, after 5 messages server should reply with h=5 (not 4)
> as it received 5 messages. (And h=10 after 10 messages, not 9)
> Did I misunderstood something?
The only thing I don't understand is how we got the examples wrong in
the last revision of the spec. :(
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6105 bytes
Desc: S/MIME Cryptographic Signature
More information about the Council