I'm trying to run the GCM CCS server sample found at https://github.com/antoinecampbell/GCMCCSDemo/blob/master/GCM_CCS_Application/src/com/antoinecampbell/gcmserver/SmackCcsClient.java
When I run it, I get the following error:
java.io.EOFException: no more data available - expected end tag </stream:stream> to close start tag <stream:stream> from line 1, parser stopped on END_TAG seen ...</mechanisms></stream:features>... @1:344
and I can see that the response from the server is
<stream:stream from="gcm.googleapis.com" id="275112302C7D0892" version="1.0" xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client">
<stream:features><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>X-OAUTH2</mechanism><mechanism>X-GOOGLE-TOKEN</mechanism><mechanism>PLAIN</mechanism></mechanisms></stream:features>
Is the response correct? Should there not be a closing tag for <stream:stream>
?