mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernd Fondermann (JIRA)" <j...@apache.org>
Subject [jira] [Created] (VYSPER-341) nbxml exception pasring multiple numeric character references
Date Sun, 02 Jun 2013 21:47:20 GMT
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

Mime
View raw message