I'm unable to connect using XMPPTCPConnection.connect() of Smack 4.1.0 It says invalid-namespace
Here is Smack debug log:
SENT (0): <stream:stream xmlns='jabber:client' to='webisite.com' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' xml:lang='en'>
RECV (0): <?xml version='1.0'?><stream:stream xmlns='jabber:client:simplified' xmlns:stream='http://etherx.jabber.org/streams' id='imp-error-imp' from='rcs2' version='1.0' xml:lang='en'><stream:error><invalid-namespace xmlns='urn:ietf:params:xml:ns:xmpp-streams'/></stream:error></stream:stream>
It was successful with an old version of ASmack. It sent 'jabber:client:simplified' namespace.
Is there any way to manage namespace?