Waqas Hussain wrote: > There is a particularly good reason for this: IQ gets and sets are > only allowed to have a single child. > > Don't 'fix' this, because accepting multiple IQ children would break > the XMPP spec. and because XEP 0255 - example 7 shows the right way to do it.