You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Dino Fancellu <di...@felstar.com> on 2011/04/25 16:46:18 UTC

Re: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'broker:broker'.

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.

Re: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'broker:broker'.

Posted by Richard Kettelerij <ri...@gmail.com>.
See http://activemq.apache.org/xml-reference.html

--
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-tp472981p4338903.html
Sent from the Camel - Users mailing list archive at Nabble.com.