eJAbberd almost logued, but get "xml-not-well-formed" as response

Hi, i’'m trying to log with an ejabberd server, first, the loguis was pretty weird, because of an MD5 SLAS issue.

The problem is that, in XMMP 1.0, the connection MUST be done by SASL, that means, password encryption, what I do is modify the XMMPConnection.as file in the line #327 as follows:

Replace:openingStreamTag = new String( “<?xml version=\"1.0\"?><stream:stream to=”" + server + “” xmlns=“jabber:client” xmlns:stream=“http://etherx.jabber.org/streams” version=“1.0”>" );

for: openingStreamTag = new String( “<?xml version=\"1.0\"?><stream:stream to=”" + server + “” xmlns=“jabber:client” xmlns:stream="http://etherx.jabber.org/streams">" );

If you omit the version property, the server asumes that is NOT a XMPP SLAS compatible and start an encriptles autentication process.

Now, I’‘m getting a “xml-not-well-formed” as response and I don’'t know what to do with it. Here is the trace:


CUT HERE----


SENT: stream:error


CUT HERE----


Any idea?

TIA