camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dino Fancellu <d...@felstar.com>
Subject Re: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'broker:broker'.
Date Mon, 25 Apr 2011 14:46:18 GMT
I was seeing similar, using 2.7 and the maven archetypes, which is a bit bad.

To fix it I had to put in:

xmlns:broker="http://activemq.apache.org/schema/core"

+

http://activemq.apache.org/schema/core
http://activemq.apache.org/schema/core/activemq-core-5.5.0.xsd

in the xsi:schemaLocation

Note, in the samples, for example
camel-example-spring-jms/.../camel-server.xml it says:

http://activemq.apache.org/schema/core
http://activemq.apache.org/schema/core/activemq-core.xsd

But

http://activemq.apache.org/schema/core/activemq-core.xsd does not exist, so
that camel-server.xml example will not validate! So make sure you are
pointing to a real xsd which actually exists. You can find the real core
xsds here:

http://activemq.apache.org/schema/core/?C=M;O=D


--
View this message in context: http://camel.465427.n5.nabble.com/cvc-complex-type-2-4-c-The-matching-wildcard-is-strict-but-no-declaration-can-be-found-for-element-b-tp472981p4338405.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message