Schema support for Spring <beans> in LDAP/RDBMS config

Tom Zeller tzeller at dragonacea.biz
Mon Feb 10 15:54:13 EST 2014


>>> It's going to be more complex to come up with a schema if we have to
>>>allow
>>> mix and match of old elements and <beans>.
>>
>>I have not thought it through, but could we not support <beans> inline
>>and instead <import> ?
>
> I think you mean include, and XInclude is, well, nothing remotely like
> what it would need to be to be useful. It doesn't change anything, you
> have to account for any possibly inclusions in your schema. It's not a
> preprocessor-like feature, nothing like #include.

No, I meant <import> to load bean definitions from another file :

 <import resources="some-native-beans-file.xml" />


More information about the dev mailing list