powered by Jive Software

Openfire does not send <invalid-namespace/> (not spec conform)

Hi,

I recognized, that Openfire does not send a “”, if a client opens the stream with an invalid namespace (other than “http://etherx.jabber.org/streams”).

Openfire then just sends “</stream:stream>”.

According to the specification, it should send a stream error ("") and then close the stream.

This would also mean, it should first open the stream.

http://xmpp.org/rfcs/rfc6120.html

4.8.1 Stream Namespaces

See also section 4.9.1.2.

My parser can’t handle just an closing tag.

Can you fix it?

Logged as OF-706. Thanks for reporting.