First, let me say that the new custom, extensible, configuration framework for the spring container is great. It's really helping us out on our current project, saving us tons of code.
I may be missing how to do this, but it doesn't seem like the configuration framework uses the schema instance type, only the tag's qname. Here's the specific case we're currently dealing with.
<element name="foo" type="footype"/>
<complexType name="footype" abstract="true">
<complexType name="bartype" />
Now, ideally what we would like is Spring to lookup the bean definition parser this element based on the schema type, bartype, as there could be any number of foo elements, each with different types.
<foo xsi:type="bartype" />
First, does Spring currently support this and I just missed it? If not, I'd like to discuss adding it as functionality.