Reinhard Poetz escribió:
Antonio Gallardo wrote:
Hi,
While merging from 2.1 XInclude fallback tests, they don't pass due
[1]. Since XIncludeTransformer is an Avalon component, he does not
recognize Spring exceptions at all. I am sure we need to address this
because we are going to hit the same error in other components. Is
there a workaround in place. Please help.
Best Regards,
Antonio Gallardo
[1]
Tests run: 4, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.303
sec <<< FAILURE!
testXIncludeSimpleFallbackTest(org.apache.cocoon.transformation.XIncludeTransformerTestCase)
Time elapsed: 0.107 sec <<< ERROR!
org.springframework.beans.factory.NoSuchBeanDefinitionException: No
bean named 'org.apache.excalibur.source.SourceFactory/file' is defined
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:352)
IIUC this exception means that your testcase xconf doesn't provide a
bean with the name "org.apache.excalibur.source.SourceFactory/file",
does it?
Would you explain more? :-)
Best Regards,
Antonio Gallardo