You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Zhang JinYan (JIRA)" <ji...@apache.org> on 2013/01/24 07:53:13 UTC

[jira] [Created] (VYSPER-338) XMLParser.unescape throw exception

Zhang JinYan created VYSPER-338:
-----------------------------------

             Summary: XMLParser.unescape throw exception
                 Key: VYSPER-338
                 URL: https://issues.apache.org/jira/browse/VYSPER-338
             Project: VYSPER
          Issue Type: Bug
          Components: core protocol
    Affects Versions: 0.7
         Environment: java1.6, windows7
            Reporter: Zhang JinYan


If message stanza contains text: "&#x8FBD;&#x5B81;" exception will be throw out:

Caused by: org.xml.sax.SAXParseException: For input string: "8FBD;&#x5B81"
	at org.apache.vysper.xml.sax.impl.XMLParser.fatalError(XMLParser.java:499)
	at org.apache.vysper.xml.sax.impl.XMLParser.parse(XMLParser.java:124)
	at org.apache.vysper.xml.sax.impl.DefaultNonBlockingXMLReader.parse(DefaultNonBlockingXMLReader.java:185)
	at org.apache.vysper.xml.decoder.XMPPDecoder.doDecode(XMPPDecoder.java:117)

Caused by:String org.apache.vysper.xml.sax.impl.XMLParser.unescape(String s)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira