You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by sprengerc <ka...@hp.com> on 2011/02/07 15:11:04 UTC

No activemq-code.xsd on http://activemq.apache.org/schema/core

Hi,

In the file camelContext.xml in the Apache Camel 2.6.0 example
camel-example-jms-file the beans element points to the file 
http://activemq.apache.org/schema/core/activemq-code.xsd
http://activemq.apache.org/schema/core/activemq-code.xsd , but that file is
not available. This gives a problem when the example is loaded into eclipse.

Kind reards,
Karel Sprenger
-- 
View this message in context: http://activemq.2283324.n4.nabble.com/No-activemq-code-xsd-on-http-activemq-apache-org-schema-core-tp3264182p3264182.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: No activemq-code.xsd on http://activemq.apache.org/schema/core

Posted by Gary Tully <ga...@gmail.com>.
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: dejanb@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 <ka...@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

Re: No activemq-code.xsd on http://activemq.apache.org/schema/core

Posted by Dejan Bosanac <de...@nighttale.net>.
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: dejanb@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 <ka...@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.
>

Re: No activemq-code.xsd on http://activemq.apache.org/schema/core

Posted by sprengerc <ka...@hp.com>.
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.

Re: No activemq-code.xsd on http://activemq.apache.org/schema/core

Posted by Dejan Bosanac <de...@nighttale.net>.
Hi,

that file is available in acitvemq-core.jar and your app should be fine as
long as you have it in the classpath.

Regards
-- 
Dejan Bosanac
-----------------
FuseSource - The experts in open source integration and messaging.
Email: dejanb@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 11:08 AM, sprengerc <ka...@hp.com> wrote:

>
> Hi,
>
> Sorry I made a typo. The camelContext.xml file does refer to
> activemq-core.xsd, but that file is not available on the site
> http://activemq.apache.org/schema/core.
>
> Cheers,
> Karel
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/No-activemq-code-xsd-on-http-activemq-apache-org-schema-core-tp3264182p3275646.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Re: No activemq-code.xsd on http://activemq.apache.org/schema/core

Posted by sprengerc <ka...@hp.com>.
Hi,

Sorry I made a typo. The camelContext.xml file does refer to
activemq-core.xsd, but that file is not available on the site
http://activemq.apache.org/schema/core.

Cheers,
Karel
-- 
View this message in context: http://activemq.2283324.n4.nabble.com/No-activemq-code-xsd-on-http-activemq-apache-org-schema-core-tp3264182p3275646.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: No activemq-code.xsd on http://activemq.apache.org/schema/core

Posted by Dejan Bosanac <de...@nighttale.net>.
Hi,

the file should be activemq-core.xsd, not activemq-code.xsd

Regards
-- 
Dejan Bosanac
-----------------
FuseSource - The experts in open source integration and messaging.
Email: dejanb@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 Mon, Feb 7, 2011 at 3:11 PM, sprengerc <ka...@hp.com> wrote:

>
> Hi,
>
> In the file camelContext.xml in the Apache Camel 2.6.0 example
> camel-example-jms-file the beans element points to the file
> http://activemq.apache.org/schema/core/activemq-code.xsd
> http://activemq.apache.org/schema/core/activemq-code.xsd , but that file
> is
> not available. This gives a problem when the example is loaded into
> eclipse.
>
> Kind reards,
> Karel Sprenger
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/No-activemq-code-xsd-on-http-activemq-apache-org-schema-core-tp3264182p3264182.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>