also note that the schema locations in the examples are intentionally unversioned such that they can work unchanged with different code bases or after upgrades. If you want to reference a particular version of the schema, then update the schema location of your xml context or configuration to point to one of the versioned schemas that have a valid remote url[1] location.
There is no sensible default resource for the un versioned schema location apart from pointing it to the jar file that ships with an installation using your IDE's schema resolution mechanism. [1] http://activemq.apache.org/schema/core/activemq-core-5.4.2.xsd On 8 February 2011 11:10, Dejan Bosanac <de...@nighttale.net> wrote: > Hi, > > the following article could help > http://www.bigsoft.co.uk/blog/index.php/2009/02/01/invalid-activemq-schema-name-space > <http://www.bigsoft.co.uk/blog/index.php/2009/02/01/invalid-activemq-schema-name-space> > Regards > -- > Dejan Bosanac > ----------------- > FuseSource - The experts in open source integration and messaging. > Email: dej...@fusesource.com > Web: http://fusesource.com > Twitter: http://twitter.com/dejanb > ActiveMQ in Action - http://www.manning.com/snyder/ > Blog - http://www.nighttale.net > > > On Tue, Feb 8, 2011 at 12:06 PM, sprengerc <karel.spren...@hp.com> wrote: > >> >> Hi, >> >> When eclipse opens the camelContext.xml file it tries to fetch the broker >> schema (http://activemq.apache.org/schema/core) from the provided schema >> location http://activemq.apache.org/schema/core/activemq-core.xsd >> http://activemq.apache.org/schema/core/activemq-core.xsd which, as I >> wrote >> before, is not available. The fact that it is contained in the jar file you >> mention is unfortunately irrelevant. >> >> For other schemas, such as http://camel.apache.org/schema/spring, the >> schema >> location specified points to an existing file ( >> http://camel.apache.org/schema/spring/camel-spring.xsd >> http://camel.apache.org/schema/spring/camel-spring.xsd in this case). >> >> So all that is needed is that someone with administrative access to the >> http://activemq.apache.org/schema/core directory creates an >> activemq-core.xsd entry. >> >> Cheers, >> Karel Sprenger >> -- >> View this message in context: >> http://activemq.2283324.n4.nabble.com/No-activemq-code-xsd-on-http-activemq-apache-org-schema-core-tp3264182p3275739.html >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> > -- http://blog.garytully.com http://fusesource.com