powered by Jive Software

Custom IQ with multiple Element


#1

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"
    from="fromParam">
    <query xmlns="jabber:iq:oob">
        <param1>param1</param1>
        <param2>param2</param2>
    </query>
    <event xmlns="urlParam" param3="param3" param4="param4"/>
</iq>

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

Thanks for your help !


#2

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


#3

Thanks for your response.

I know that this is not RFC compliant :confused: