We're updating the issue view to help you get more done. 

Presence <show/>

Description

Sending the following XMPP-Packet to the Server

results in a warning like this:

RFC3921, Page 7, Section 2.2.2.1. 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 http://www.igniterealtime.org/community/message/189221

Environment

None

Acceptance Test - Entry

None

Activity

Show:
Martin Weusten
April 19, 2009, 3:48 PM
Daryl Herzmann
May 30, 2009, 2:14 AM

closing as requested.

Assignee

Gaston Dombiak

Reporter

Martin Weusten

Labels

None

Expected Effort

None

Ignite Forum URL

None

Components

Affects versions

Priority

Major
Configure