Return-Path: Delivered-To: apmail-xmlbeans-dev-archive@www.apache.org Received: (qmail 41263 invoked from network); 30 May 2007 15:12:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 May 2007 15:12:39 -0000 Received: (qmail 1016 invoked by uid 500); 30 May 2007 15:12:43 -0000 Delivered-To: apmail-xmlbeans-dev-archive@xmlbeans.apache.org Received: (qmail 982 invoked by uid 500); 30 May 2007 15:12:43 -0000 Mailing-List: contact dev-help@xmlbeans.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@xmlbeans.apache.org List-Id: Delivered-To: mailing list dev@xmlbeans.apache.org Received: (qmail 952 invoked by uid 500); 30 May 2007 15:12:43 -0000 Delivered-To: apmail-xml-xmlbeans-dev@xml.apache.org Received: (qmail 946 invoked by uid 99); 30 May 2007 15:12:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 May 2007 08:12:43 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 May 2007 08:12:38 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 72EF57141BB for ; Wed, 30 May 2007 08:11:21 -0700 (PDT) Message-ID: <26713157.1180537881467.JavaMail.jira@brutus> Date: Wed, 30 May 2007 08:11:21 -0700 (PDT) From: "Mike Perham (JIRA)" To: xmlbeans-dev@xml.apache.org Subject: [jira] Updated: (XMLBEANS-332) XMLBeans changes surrogate pair bytes to question marks In-Reply-To: <13446931.1180537876460.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/XMLBEANS-332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Perham updated XMLBEANS-332: --------------------------------- Attachment: XMLBEANS-332.zip > XMLBeans changes surrogate pair bytes to question marks > ------------------------------------------------------- > > Key: XMLBEANS-332 > URL: https://issues.apache.org/jira/browse/XMLBEANS-332 > Project: XMLBeans > Issue Type: Bug > Affects Versions: Version 2.2 > Reporter: Mike Perham > Attachments: XMLBEANS-332.zip > > > I can't debug this problem because I can't find the 2.2.0 source code anywhere and XMLBeans does not appear to have any commons-logging which I can turn on. So I'm just throwing what I have into this issue, hoping that an XMLBeans developer can look at the problem more in-depth. > The attached zip file contains an xml file with Unicode surrogate pairs - these pairs are a notoriously hard Unicode edge case to handle. XMLBeans appears to be turning pairs into question marks when emitting the XMLBean using the xmlText or toString methods. > The attachment contains a JUnit test case which reproduces the problem on XMLBeans 2.2.0. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org For additional commands, e-mail: dev-help@xmlbeans.apache.org