[
https://issues.apache.org/jira/browse/DIGESTER-146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13017860#comment-13017860
]
Simone Tripodi commented on DIGESTER-146:
-----------------------------------------
Thanks for reporting, Senen,
can you crate and attach a patch with a testcase, please?
Many thanks in advance!
> 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