> > In that RTT message, you have encapsulated 4 different actions into one > message stanza. Contrast that with Section 7.3: > > <message to='[email protected]' from='[email protected]/home' type='chat' > id='a01'> > <rtt xmlns='urn:xmpp:rtt:0' seq='0' event='new'> > <t>Hello</t> > </rtt> > </message> > > <message to='[email protected]' from='[email protected]/home' type='chat' > id='b02'> > <rtt xmlns='urn:xmpp:rtt:0' seq='1'> > <t> bcak</t> > </rtt> > </message> > > <message to='[email protected]' from='[email protected]/home' type='chat' > id='c03'> > <rtt xmlns='urn:xmpp:rtt:0' seq='2'> > <e n='3'/> > </rtt> > </message> > > <message to='[email protected]' from='[email protected]/home' type='chat' > id='d04'> > <rtt xmlns='urn:xmpp:rtt:0' seq='3'> > <t>ack</t> > </rtt> > </message> > > You don't explain why an implementation would have to follow the > multi-message approach. >
Yes, I needed to clarify this within the spec -- that it's just a matter of typing speed. A very fast typist (and/or a longer interval) would result in fewer stanzas similiar to one stanza in Section 7.2 because they would have typed the whole thing within one interval cycle. While a slower typist (and/or a shorter interval) typing exactly the same message with the same errors, would result in more stanzas similiar to four stanzas in Section 7.3. Basically assuming a default transmission interval of 700 milliseconds... ...This would mean section 7.2 would occur if the typist was able to type/correct/retype the whole thing in 700 milliseconds. (That would require unusually fast typing, like court-reporter stenotype speed or voice-recognition speed) ...and section 7.3 would occur if the same thing was typed over four transmission inteval cycles (700 x 4 = 2.8 seconds), more akin to normal typing speed. So, it's just a matter of adding a sentence or two that explains the interaction between transmission interval, typing speed, and resulting number of stanzas, that's all? And/or rewriting the examples to cover more realistic typing-speed situations (i.e. 8 keystrokes in 1 stanza, versus 4 stanzas of 2 keystrokes each)
