Sending the following XMPP-Packet to the Server
results in a warning like this:
RFC3921, Page 7, Section 184.108.40.206. 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.
closing as requested.