Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 94885 invoked from network); 27 Nov 2008 07:03:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Nov 2008 07:03:06 -0000 Received: (qmail 4957 invoked by uid 500); 27 Nov 2008 07:03:16 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 4909 invoked by uid 500); 27 Nov 2008 07:03:15 -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 4898 invoked by uid 99); 27 Nov 2008 07:03:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Nov 2008 23:03:15 -0800 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; Thu, 27 Nov 2008 07:01:57 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 58A22234C2A5 for ; Wed, 26 Nov 2008 23:02:44 -0800 (PST) Message-ID: <1742399892.1227769364361.JavaMail.jira@brutus> Date: Wed, 26 Nov 2008 23:02:44 -0800 (PST) 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=12651264#action_12651264 ] Oliver Heger commented on CONFIGURATION-335: -------------------------------------------- The parser is certainly not doing "|" splitting, but it trims whitespace. As I understand this ticket this is your original problem, isn't it? > 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 > Fix For: 1.6 > > > 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.