Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 98763 invoked from network); 8 Apr 2011 20:17:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Apr 2011 20:17:44 -0000 Received: (qmail 27753 invoked by uid 500); 8 Apr 2011 20:17:44 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 27628 invoked by uid 500); 8 Apr 2011 20:17:44 -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 27469 invoked by uid 99); 8 Apr 2011 20:17:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Apr 2011 20:17:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Apr 2011 20:17:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id DF562993F5 for ; Fri, 8 Apr 2011 20:17:05 +0000 (UTC) Date: Fri, 8 Apr 2011 20:17:05 +0000 (UTC) From: "Senen de Diego (JIRA)" To: issues@commons.apache.org Message-ID: <1806762245.44859.1302293825911.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (DIGESTER-146) MultiVariableExpander should work with variables defined in terms of another variables. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 MultiVariableExpander should work with variables defined in terms of another variables. --------------------------------------------------------------------------------------- Key: DIGESTER-146 URL: https://issues.apache.org/jira/browse/DIGESTER-146 Project: Commons Digester Issue Type: Improvement Affects Versions: 2.1 Reporter: Senen de Diego Priority: Trivial Given properties defined like: bar=bar foobar=foo${bar} I would expect ${foobar} being expanded as "foobar". Instead it's expanded as "foo${bar}". A fix is trivial removing the last line in method expand: index += varValue.length(); -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira