Custom IQ with multiple Element

Hi all !

Is this possible to create an IQ with multiple elements (query + event) like this:

<iq xmlns="jabber:client" id="idParam"
    to="toParam" type="set"
    <query xmlns="jabber:iq:oob">
    <event xmlns="urlParam" param3="param3" param4="param4"/>

I tried to add an extension (event) to my custom IQ but it doesn’t give what I want.

Thanks for your help !

No, as an IQ with multiple child elements is disallowed as per RFC 6120 § 8.2.3 4.

Thanks for your response.

I know that this is not RFC compliant :confused:

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.