You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think this bug is valid. Your example appears to misuse util:map. The util:map tag is intended for creating a named bean that is a Map (it's a shortcut for MapFactoryBean). If you want to create a map as a property value of some other bean, just use <map> instead.
(also posted this on the thread in the support forum)
We do have an issue there after all, since util:map and co expose a "merge" attribute - which is simply ignored at this point. That's certainly not acceptable. I'll see what I can do about it in the short term.
Merging through util:map and co is not really in line with the semantics of those tags, since they are designed to define standalone collections with own id etc. As a consequence, I've revised our 2.5 XSDs to not expose the "merge" attribute for util:map and co, whereas it still remains available for plain <map> and co.
Activity
spring-projects-issues commentedon May 9, 2008
Kevin Calcagno commented
I don't think this bug is valid. Your example appears to misuse util:map. The util:map tag is intended for creating a named bean that is a Map (it's a shortcut for MapFactoryBean). If you want to create a map as a property value of some other bean, just use <map> instead.
(also posted this on the thread in the support forum)
spring-projects-issues commentedon Jun 5, 2008
Juergen Hoeller commented
We do have an issue there after all, since util:map and co expose a "merge" attribute - which is simply ignored at this point. That's certainly not acceptable. I'll see what I can do about it in the short term.
Juergen
spring-projects-issues commentedon Jun 6, 2008
Juergen Hoeller commented
Merging through util:map and co is not really in line with the semantics of those tags, since they are designed to define standalone collections with own id etc. As a consequence, I've revised our 2.5 XSDs to not expose the "merge" attribute for util:map and co, whereas it still remains available for plain <map> and co.
Juergen