You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Bernd Fondermann (JIRA)" <ji...@apache.org> on 2013/06/02 23:47:20 UTC

[jira] [Created] (VYSPER-341) nbxml exception pasring multiple numeric character references

Bernd Fondermann created VYSPER-341:
---------------------------------------

             Summary: nbxml exception pasring multiple numeric character references
                 Key: VYSPER-341
                 URL: https://issues.apache.org/jira/browse/VYSPER-341
             Project: VYSPER
          Issue Type: Bug
          Components: extension
            Reporter: Bernd Fondermann
             Fix For: 0.8


Gene, on the mailing list:

There is a bug in XMLParser when parsing consecutive numeric character references because UNESCAPE_UNICODE_PATTERN greedily matches.

We found this when exchanging JSON snippets over chat. The chat client was turning the preceding whitespace in a JSON snippet into &#160;&#160;&#160;&#160; and this causes XMLParser to throw an exception trying to parse it as one character instead of as four characters.


--
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