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/03 20:25:20 UTC

[jira] [Commented] (VYSPER-341) nbxml exception parsing multiple numeric character references

    [ https://issues.apache.org/jira/browse/VYSPER-341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13673398#comment-13673398 ] 

Bernd Fondermann commented on VYSPER-341:
-----------------------------------------

applied patch by Gene McCulley from the mailing list. Thanks for contributing!

                
> nbxml exception parsing 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
>            Assignee: 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