You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Claus Ibsen <cl...@gmail.com> on 2009/04/14 11:56:56 UTC

Camel 1.x Spring XML namespace URI problem with redirects

Hi

For background see
http://fusesource.com/forums/thread.jspa?messageID=2455&#2455

The problem is that the old Camel 1.x namespace URIs is automatic
redirected to the new TLP location at the apache site.

Can we do something so the old Camel 1.x namespace can be preserved so
Eclipse and other tooling work out of the box?

Jonathan, Hadrian you are good at this sort of problem?



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus
Apache Camel Reference Card:
http://refcardz.dzone.com/refcardz/enterprise-integration

Re: Camel 1.x Spring XML namespace URI problem with redirects

Posted by Willem Jiang <wi...@gmail.com>.
Hi,

Please take a look at this FAQ[1], which provides a walk around.
[1]
http://cwiki.apache.org/CAMEL/how-to-validate-the-camel-1x-context-xml-from-apache-camel-web-site.html

Willem

Frank Schwarz wrote:
> This namespace-inconsistency is really annoying. It took me hours to figure
> out, what was wrong with my setup.
> 
> 
> 
> the samples claim: http://camel.apache.org/schema/spring
> http://camel.apache.org/schema/spring/
> camel-spring.xsd
> the handbook claims: http://camel.apache.org/schema/spring
> http://camel.apache.org/schema/spring/camel-spring.xsd
> 
> 
> Actually working is only http://activemq.apache.org/camel/schema/spring
> http://activemq.apache.org/camel/schema/spring/camel-spring.xsd
> 
> which is incorrect as
> http://activemq.apache.org/camel/schema/spring/camel-spring.xsd is
> redirected to http://camel.apache.org/schema/spring/camel-spring.xsd which
> declares target namespace http://camel.apache.org/schema/spring and not
> http://activemq.apache.org/camel/schema/spring
> 
> The culprit is camel-spring-?.jar which still contains the old schema and
> the spring configuration-handler for
> http://activemq.apache.org/camel/schema/spring
> 
> Please correct this inconsistency.
> 
> Thanks,
> 
> Frank
> 
> 
> 
> 
> Claus Ibsen-2 wrote:
>> Hi
>>
>> For background see
>> http://fusesource.com/forums/thread.jspa?messageID=2455&#2455
>>
>> The problem is that the old Camel 1.x namespace URIs is automatic
>> redirected to the new TLP location at the apache site.
>>
>> Can we do something so the old Camel 1.x namespace can be preserved so
>> Eclipse and other tooling work out of the box?
>>
>> Jonathan, Hadrian you are good at this sort of problem?
>>
>>
>>
>> -- 
>> Claus Ibsen
>> Apache Camel Committer
>>
>> Open Source Integration: http://fusesource.com
>> Blog: http://davsclaus.blogspot.com/
>> Twitter: http://twitter.com/davsclaus
>> Apache Camel Reference Card:
>> http://refcardz.dzone.com/refcardz/enterprise-integration
>>
>>
> 


Re: Camel 1.x Spring XML namespace URI problem with redirects

Posted by Frank Schwarz <fs...@gmx.net>.
This namespace-inconsistency is really annoying. It took me hours to figure
out, what was wrong with my setup.



the samples claim: http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/
camel-spring.xsd
the handbook claims: http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/camel-spring.xsd


Actually working is only http://activemq.apache.org/camel/schema/spring
http://activemq.apache.org/camel/schema/spring/camel-spring.xsd

which is incorrect as
http://activemq.apache.org/camel/schema/spring/camel-spring.xsd is
redirected to http://camel.apache.org/schema/spring/camel-spring.xsd which
declares target namespace http://camel.apache.org/schema/spring and not
http://activemq.apache.org/camel/schema/spring

The culprit is camel-spring-?.jar which still contains the old schema and
the spring configuration-handler for
http://activemq.apache.org/camel/schema/spring

Please correct this inconsistency.

Thanks,

Frank




Claus Ibsen-2 wrote:
> 
> Hi
> 
> For background see
> http://fusesource.com/forums/thread.jspa?messageID=2455&#2455
> 
> The problem is that the old Camel 1.x namespace URIs is automatic
> redirected to the new TLP location at the apache site.
> 
> Can we do something so the old Camel 1.x namespace can be preserved so
> Eclipse and other tooling work out of the box?
> 
> Jonathan, Hadrian you are good at this sort of problem?
> 
> 
> 
> -- 
> Claus Ibsen
> Apache Camel Committer
> 
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
> Twitter: http://twitter.com/davsclaus
> Apache Camel Reference Card:
> http://refcardz.dzone.com/refcardz/enterprise-integration
> 
> 

-- 
View this message in context: http://www.nabble.com/Camel-1.x-Spring-XML-namespace-URI-problem-with-redirects-tp23036526p23085338.html
Sent from the Camel Development mailing list archive at Nabble.com.