Dear Jabber experts,
Is the following a legal XMPP packet (linebreaks inserted for readability)?
<iq id="rpc-0wLET-8" to="[EMAIL PROTECTED]/Biomatters" type="set">
<query xmlns="jabber:iq:biomatters:rpc" version="1.0">
<methodCall>
<methodName>add</methodName>
<params>
<int>23</int>
<int>42</int>
</params>
</methodCall>
</query>
</iq>
When I send it (e.g. through jabber.meta.net.nz), it seems to be modified by
the server: The method name "add" is replaced by an additional close tag
"</methodName>", i.e. it arrives as follows at its destination:
<iq id="rpc-WRH8A-8" to="[EMAIL PROTECTED]/Biomatters"
from="[EMAIL PROTECTED]/Biomatters" type="set">
<query version="1.0" xmlns="jabber:iq:biomatters:rpc">
<methodCall>
<methodName></methodName></methodName>
<params>
<int>23</int>
<int>42</int>
</params>
</methodCall>
</query>
</iq>
My format is very close to the official jabber:iq:rpc, so I don't see why it
would not be legal to put the plain string "add" inside the methodname tags.
If anybody could drop me a hint why the server edits my packet or what XML
is legal inside an IQ package, i'd be very grateful.
I'm using Smack as my Jabber API. jabber.meta.net.nz uses jabberd, but the
same happens if I locally run Wildfire.
Thanks a lot in advance,
Tobias