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

Reply via email to