[JDEV] Multiple elements within IQs

Thomas Parslow (PatRat) tom at almostobsolete.net
Tue Apr 16 18:05:08 CDT 2002


Hi,

Is it possible for there to be 2 or more unrelated elements within an IQ? For
example would the following be valid and if it is then what would be
the correct responce?

<iq from="test1 at domain.com/resource" to="test2 at domain.com/resource" type="get" id="id1">
    <query xmlns="jabber:iq:version"/>
    <query xmlns="jabber:iq:time"/>
</iq>

It doesn't seem correct but I can't find anywhere that says that it
isn't...

Thomas Parslow (PatRat)
E-Mail/Jabber: tom at almostobsolete.net
ICQ: 26359483




More information about the JDev mailing list