Closed lboynton closed 12 years ago
OK, I now know the actual error is "will terminate: XML or text declaration not at start of entity". I had this issue before because I was sending stanzas with the XML declaration: <?xml version='1.0'?>. When I took that out it worked. My question is should stanzas include the XML declaration? In this case it is ejabberd which is sending it so I'm thinking this is normal behaviour?
We've switched to a new SAX based XML parser for better speed. This might be due to the switch to a SAX based parser. The XML generated by ejabbed looks fine. Will fix.
Can you please check if commit 0caf940a1b267acb3315d786af5a36c60f3e64de(or current master) fixes the issue.
I've tested with current master and can confirm that it now works for me. Thanks!
Hi, it seems with v0.6.0 I can no longer authenticate with the XMPP server (I'm using ejabberd). Here is the log:
It works with v0.5.6, so I assume this is a new bug. For some reason it thinks there is a stream error, but it looks fine to me?