On Jun 29, 2010, at 10:33 AM, Hongxin Liang wrote:
> We just upgrade to spring 3.0.3, but suddenly find that xbean-spring does
> not work, as spring 3.0.x added schema validation by default which happens
> in AbstractXmlApplicationContext.java:: initBeanDefinitionReader(). In
> spring 2, this method is empty, while in 3.0.x, it is as following:
>
> protected void initBeanDefinitionReader(XmlBeanDefinitionReader reader) {
>
> reader.setValidating(this.validating);
> }
>
> So we get trouble.
>
> My question is, is there any plan to fix this in xbean-spring itself?
> Or more general, to comply with spring 3. Although we can fix it by
> overriding this method, we're looking forward to official solution.
I haven't heard of anybody talking about it, but it's a reasonable request. Have you tried
building trunk with an updated version numbers for the spring dependencies?
--kevan
|