Presence <show/>


Sending the following XMPP-Packet to the Server

results in a warning like this:

RFC3921, Page 7, Section is a bit misunderstanding in this case.

The question is: Does the "if provided" reference to the element itself or the XML character data? Because this is unclear I would say both is allowed. However, it seems some client out there do use this.

I think the problem is located in org.xmpp.packet.Presence#getShow

I'm not sure, but probably element.elementText returns an empty string in this case instead of NULL. An additional check should solve the problem. It is possible that this little problem is causing other problems. I had strange server problems in these days. Login not working, Clients get kicked when joining a MUC room....strange things. I'm not sure this is related, just wanted to mention it if someone else has this problems.

See also




Daryl Herzmann
May 30, 2009, 2:14 AM

closing as requested.

Won't Fix
Your pinned fields
Click on the next to a field label to start pinning.


Gaston Dombiak


Martin Weusten