Problem with Unknown Host From Messenger 2.3.0

When I recieve an unknown host stream I get the following error in smack:

org.xmlpull.v1.XmlPullParserException: end tag not allowed in epilog but got / (position: END_TAG seen …</stream:error></… @1:176)

at org.xmlpull.mxp1.MXParser.parseEpilog(MXParser.java:1585)

at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1393)

at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)

at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:337)

at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:42)

at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:62)

/code

and here is the packet from messenger:

<?xml version=''1.0'' encoding=''UTF-8''?>

<stream:error xmlns:stream=“http://etherx.jabber.org/streams”>

<host-unknownxmlns=“urn:ietf:params:xml:ns:xmpp-streams”/>

</stream:error>

</stream:stream>

/code

Hi AWenckus,

the packet you show here contains invalid XML. Either the <?xml… bit should be left out, if you’'re already in the middle of the stream, or an opening tag for the stream:stream element should be added before the stream:error.

Hi Jkohen:

This is the resposne I received from Messenger. To shed a little more light on the situation I will post the sent packets:

/code

I understand the error in messenger as was discussed in this thread:

http://www.jivesoftware.org/community/message.jspa?messageID=106077#106077

The to attribute is not in fact my server name so messenger is returning me the stream error, though it looks like smack is coughing when it is parsing the error.

Alex