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] [Commented] (VYSPER-341) nbxml exception parsing multiple numeric character references
Date Mon, 03 Jun 2013 18:25:20 GMT

    [ 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

Mime
View raw message