Return-Path: X-Original-To: apmail-mina-dev-archive@www.apache.org Delivered-To: apmail-mina-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5B952CE7C for ; Mon, 3 Jun 2013 18:25:23 +0000 (UTC) Received: (qmail 67968 invoked by uid 500); 3 Jun 2013 18:25:22 -0000 Delivered-To: apmail-mina-dev-archive@mina.apache.org Received: (qmail 67704 invoked by uid 500); 3 Jun 2013 18:25:22 -0000 Mailing-List: contact dev-help@mina.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mina.apache.org Delivered-To: mailing list dev@mina.apache.org Received: (qmail 67056 invoked by uid 99); 3 Jun 2013 18:25:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jun 2013 18:25:21 +0000 Date: Mon, 3 Jun 2013 18:25:21 +0000 (UTC) From: "Bernd Fondermann (JIRA)" To: dev@mina.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (VYSPER-341) nbxml exception parsing multiple numeric character references MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/VYSPER-341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bernd Fondermann resolved VYSPER-341. ------------------------------------- Resolution: Fixed > 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      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