在openfire中,如果发送某些特殊的字符(例如一些表情符合),会断开xmpp的连接,经查,是由以下的代码问题引起的: src\java\org\jivesoftware\openfire\net\MXParser.java protected char more() throws IOException, XmlPullParserException { final char codePoint = super.more(); // note - this does NOT return a