On Wed Jul 18 2007, William Voorsluys wrote: > Hello, > > We're adding flow rate control support for IBB since our application > makes heavy use of file transfers. > Since we need to receive ACKs for packets, we're using <iq> for data > transport, according to XEP-0047. The first problem is that the > algorithm we're using needs to know the sequence number of the packet > being acknowledged. > But, according to the XEP, it is not allowed to include any inner XML > stanza on the <iq> of type RESULT used as ACK: > > <iq from='[EMAIL PROTECTED]/balcony' to='[EMAIL PROTECTED]/orchard' > type='result' id='ibb1'/>
That's just an example.
The RFC allows zero or one child element in IQ result stanzas.
This would work:
<iq from='[EMAIL PROTECTED]/balcony' to='[EMAIL PROTECTED]/orchard'
type='result' id='ibb1'>
<data xmlns='http://jabber.org/protocol/ibb' sid='mySID' seq='0'>
</iq>
Jakob
pgpTJwif2iEhf.pgp
Description: PGP signature
