Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 79219 invoked from network); 11 Mar 2009 14:25:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Mar 2009 14:25:17 -0000 Received: (qmail 65915 invoked by uid 500); 11 Mar 2009 14:25:15 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 65876 invoked by uid 500); 11 Mar 2009 14:25:14 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 65850 invoked by uid 99); 11 Mar 2009 14:25:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Mar 2009 07:25:14 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Mar 2009 14:25:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8DC76234C041 for ; Wed, 11 Mar 2009 07:24:50 -0700 (PDT) Message-ID: <1784091792.1236781490572.JavaMail.jira@brutus> Date: Wed, 11 Mar 2009 07:24:50 -0700 (PDT) From: "Thomas Mueller (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCR-2007) Importing strings with special characters fails In-Reply-To: <929630143.1236251638997.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-2007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Mueller updated JCR-2007: -------------------------------- Description: Both Session.importXML and Workspace.importXML don't work correctly in some cases. Importing very large foreign language (for example, Chinese) text properties could fail on some platforms. BufferedStringValue buffers very large string to a temporary file. It uses the platform default encoding to read and write the text. BufferedStringValue is relatively slow on some systems when importing large texts or binary data because of using FD().sync(). If a string contains a carriage return (\r), this character was truncated on some platforms. If a string contains a characters < 32 excluding newline (\n) and tab (\t) - for example form feed (\f) - the imported string was base64 encoded. was:BufferedStringValue buffers very large string to a temporary file. It uses the platform default encoding to read and write the text. Usually this is not a problem, however importing very large foreign language (for example, Chinese) text properties could fail on some platforms. Summary: Importing strings with special characters fails (was: Importing very large strings could fail in some situations) > Importing strings with special characters fails > ----------------------------------------------- > > Key: JCR-2007 > URL: https://issues.apache.org/jira/browse/JCR-2007 > Project: Jackrabbit Content Repository > Issue Type: Bug > Components: jackrabbit-core > Reporter: Thomas Mueller > Assignee: Thomas Mueller > > Both Session.importXML and Workspace.importXML don't work correctly in some cases. > Importing very large foreign language (for example, Chinese) text properties could fail on some platforms. BufferedStringValue buffers very large string to a temporary file. It uses the platform default encoding to read and write the text. > BufferedStringValue is relatively slow on some systems when importing large texts or binary data because of using FD().sync(). > If a string contains a carriage return (\r), this character was truncated on some platforms. > If a string contains a characters < 32 excluding newline (\n) and tab (\t) - for example form feed (\f) - the imported string was base64 encoded. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.