2-bytes characters again

Hi development team,

I posted a thread http://www.igniterealtime.org/community/message/188722 a few weeks ago, I thought I have completedly sovled the problem, however, when I send messages much longer than before , this problem appear again.

I tried many sorts of approaches posted by others on this forum, but none of them can fix my issue.

I did replace current XMLLightweightParser.java in svn with http://www.igniterealtime.org/issues/secure/attachment/10684/XMLLightweightParse r.java, my client’s(xiff) socket closed right away. But I cannot tell why this happen.

Thanks,

Nako