Quoting Oliver Heger <[EMAIL PROTECTED]>: > ATM interpolation takes place only in getString() and for the single > elements of an array returned by getStringArray(). In this context using > only the first value of a multi-valued property IMO makes more sense > than working with a String representation of a value list, which cannot > be influenced (because simply toString() is called on this list). >
This seems reasonable > But I agree with you that the "correct behavior" certainly depends on > personal view or a concrete use case. I made this fix to be included in > the 1.2 release to be consistent with the behavior of other getter > methods. For the future there is an enhancement request in Bugzilla to > improve interpolation features > (http://issues.apache.org/bugzilla/show_bug.cgi?id=35116). This will > also support custom interpolation strategies and will make it possible > to change the way multi-valued properties are treated. > > Oliver Excellent. Being able to have full conrol over it rather than providing one person's idea of the best behavior when it really depends on the situation, is a great idea! I look forward to seeing it :-) Jake --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
