Here's a quick one. In my conf file I have
Although everything works fine, the <service-activator> and <gateway> entries (but not the others) give a error in the Eclipse editor<beans:beans xmlns="http://www.springframework.org/schema/integration"
(...)
xsi:schemaLocation="http://www.springframework.org/schema/integration http://www.springframework.org/schema/integration/spring-integration-1.0.xsd ( ...)>
<message-bus/>
<channel id="input"/>
(...)
<service-activator input-channel="input" ref="handler" output-channel="responses"/>
<gateway id="testService" (...)/>
(...)
which is a little annoying because I can't have code-completion and the like.Error - cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'gateway'.
However if I change the xsi:schemaLocation to
the errors disappear. Isn't that strange, knowing the former xsd:includes the later?http://www.springframework.org/schema/integration/spring-integration-core-1.0.xsd


Reply With Quote