Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 70717 invoked from network); 6 Sep 2008 15:42:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Sep 2008 15:42:36 -0000 Received: (qmail 96120 invoked by uid 500); 6 Sep 2008 15:42:34 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 96038 invoked by uid 500); 6 Sep 2008 15:42:33 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 96027 invoked by uid 99); 6 Sep 2008 15:42:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Sep 2008 08:42:33 -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; Sat, 06 Sep 2008 15:41:43 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BCA9B234C1D0 for ; Sat, 6 Sep 2008 08:41:44 -0700 (PDT) Message-ID: <944173699.1220715704771.JavaMail.jira@brutus> Date: Sat, 6 Sep 2008 08:41:44 -0700 (PDT) From: "Oliver Heger (JIRA)" To: issues@commons.apache.org Subject: [jira] Commented: (CONFIGURATION-335) XMLConfiguration: Can't disable attribute splitting In-Reply-To: <997134269.1218734864409.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/CONFIGURATION-335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628885#action_12628885 ] Oliver Heger commented on CONFIGURATION-335: -------------------------------------------- My point is that the problem you are facing with the definition of CR and LF sequences in attributes is not caused by any attribute trimming or splitting activities of XMLConfiguration. Rather the XML parser already performs attribute normalization and replaces your sequence by a single white space. So even if you had access to the corresponding methods in XMLConfiguration, it would not help you because the strings passed to these methods have already been modified by the parser. > XMLConfiguration: Can't disable attribute splitting > ---------------------------------------------------- > > Key: CONFIGURATION-335 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-335 > Project: Commons Configuration > Issue Type: Bug > Components: Format > Affects Versions: 1.5 > Reporter: Sergey Vladimirov > > My XML configuration has the following attribute: > > But XML Configuration is trying to split this string and trims it after splitting. I don't need this behaviour, but setting setDelimiterParsingDisabled() just changing delimeter to "|" and not disables attribute trimming. > Need either to disable trimming/splitting if setDelimiterParsingDisabled() is set to TRUE (incompatible change), or add something like setParseAttributesAsIs() that will prevent attributes to be trimmed and splitted -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.