You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by ankelee <an...@gmail.com> on 2010/06/03 14:59:29 UTC

How to use offline Camel Spring schema? (Camel 2.3)

Claus answers this question partly in this thread:
http://old.nabble.com/Using-local-camel-schema-on-server-with-no-internet-access-td28340101s22882.html#a28340101

But I can't get this to work. I'm trying to use some of the new options in
the <aggregate> tag but both the ide and the compiler complains that these
options does not exist so I assume it's validating against an old online
schema.

Could someone help me on this?
-- 
View this message in context: http://old.nabble.com/How-to-use-offline-Camel-Spring-schema--%28Camel-2.3%29-tp28767115p28767115.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: How to use offline Camel Spring schema? (Camel 2.3)

Posted by Willem Jiang <wi...@gmail.com>.
Sorry, the right url should be
http://camel.apache.org/schema/spring/camel-spring-2.3.0.xsd

Willem

ankelee wrote:
> 
> It was hard for me :-)
> 
> Thanks.
> 
> 
> 
> Claus Ibsen-2 wrote:
>> On Thu, Jun 3, 2010 at 3:27 PM, ankelee <an...@gmail.com> wrote:
>>> Hi Willem
>>>
>>> That is not working. Can't even access that url in a browser.
>>>
>> Well you can view all the XSD here
>> http://camel.apache.org/schema/spring/
>>
>> So it was not that hard to figure out there was a tiny typo in the url
>> from willem
>>
>>
>>>
>>> willem.jiang wrote:
>>>> The camel-spring-2.3.0.xsd is published into the apache camel web sit.
>>>> But the camel-spring.xsd is not updated with the latest
>>>> camel-spring-2.3.0.xsd. You can work around this issue by doing the
>>>> below change .
>>>>
>>>> ankelee wrote:
>>>>> <beans xmlns="http://www.springframework.org/schema/beans"
>>>>>      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>> xmlns:camel="http://camel.apache.org/schema/spring"
>>>>>      xmlns:jee="http://www.springframework.org/schema/jee"
>>>>>      xsi:schemaLocation=" http://www.springframework.org/schema/beans
>>>>>
>>>>> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
>>>>>                                            
>>>>>  http://camel.apache.org/schema/spring
>>>>>                                            
>>>>>  http://camel.apache.org/schema/spring/camel-spring.xsd
>>>> *** change the upper line to ***
>>>> http://camel.apache.org/schema/spring/camel-spring.2.3.0.xsd
>>>>
>>>>>                                            
>>>>>  http://www.springframework.org/schema/jee
>>>>>
>>>>> http://www.springframework.org/schema/jee/spring-jee-2.0.xsd
>>>>> ">
>>>>>
>>>>>
>>>>> My XML files look like this at the moment. What to do to use the local
>>>>> 2.3
>>>>> schemas in the jar?
>>>> Willem
>>>>
>>>>
>>> --
>>> View this message in context:
>>> http://old.nabble.com/How-to-use-offline-Camel-Spring-schema--%28Camel-2.3%29-tp28767115p28767432.html
>>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>> -- 
>> Claus Ibsen
>> Apache Camel Committer
>>
>> Author of Camel in Action: http://www.manning.com/ibsen/
>> Open Source Integration: http://fusesource.com
>> Blog: http://davsclaus.blogspot.com/
>> Twitter: http://twitter.com/davsclaus
>>
>>
> 


Re: How to use offline Camel Spring schema? (Camel 2.3)

Posted by ankelee <an...@gmail.com>.

It was hard for me :-)

Thanks.



Claus Ibsen-2 wrote:
> 
> On Thu, Jun 3, 2010 at 3:27 PM, ankelee <an...@gmail.com> wrote:
>>
>> Hi Willem
>>
>> That is not working. Can't even access that url in a browser.
>>
> 
> Well you can view all the XSD here
> http://camel.apache.org/schema/spring/
> 
> So it was not that hard to figure out there was a tiny typo in the url
> from willem
> 
> 
>>
>>
>> willem.jiang wrote:
>>>
>>> The camel-spring-2.3.0.xsd is published into the apache camel web sit.
>>> But the camel-spring.xsd is not updated with the latest
>>> camel-spring-2.3.0.xsd. You can work around this issue by doing the
>>> below change .
>>>
>>> ankelee wrote:
>>>> <beans xmlns="http://www.springframework.org/schema/beans"
>>>>      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>> xmlns:camel="http://camel.apache.org/schema/spring"
>>>>      xmlns:jee="http://www.springframework.org/schema/jee"
>>>>      xsi:schemaLocation=" http://www.springframework.org/schema/beans
>>>>
>>>> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
>>>>                                            
>>>>  http://camel.apache.org/schema/spring
>>>>                                            
>>>>  http://camel.apache.org/schema/spring/camel-spring.xsd
>>> *** change the upper line to ***
>>> http://camel.apache.org/schema/spring/camel-spring.2.3.0.xsd
>>>
>>>>                                            
>>>>  http://www.springframework.org/schema/jee
>>>>
>>>> http://www.springframework.org/schema/jee/spring-jee-2.0.xsd
>>>> ">
>>>>
>>>>
>>>> My XML files look like this at the moment. What to do to use the local
>>>> 2.3
>>>> schemas in the jar?
>>>
>>> Willem
>>>
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/How-to-use-offline-Camel-Spring-schema--%28Camel-2.3%29-tp28767115p28767432.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> Claus Ibsen
> Apache Camel Committer
> 
> Author of Camel in Action: http://www.manning.com/ibsen/
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
> Twitter: http://twitter.com/davsclaus
> 
> 

-- 
View this message in context: http://old.nabble.com/How-to-use-offline-Camel-Spring-schema--%28Camel-2.3%29-tp28767115p28767567.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: How to use offline Camel Spring schema? (Camel 2.3)

Posted by Claus Ibsen <cl...@gmail.com>.
On Thu, Jun 3, 2010 at 3:27 PM, ankelee <an...@gmail.com> wrote:
>
> Hi Willem
>
> That is not working. Can't even access that url in a browser.
>

Well you can view all the XSD here
http://camel.apache.org/schema/spring/

So it was not that hard to figure out there was a tiny typo in the url
from willem


>
>
> willem.jiang wrote:
>>
>> The camel-spring-2.3.0.xsd is published into the apache camel web sit.
>> But the camel-spring.xsd is not updated with the latest
>> camel-spring-2.3.0.xsd. You can work around this issue by doing the
>> below change .
>>
>> ankelee wrote:
>>> <beans xmlns="http://www.springframework.org/schema/beans"
>>>      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>> xmlns:camel="http://camel.apache.org/schema/spring"
>>>      xmlns:jee="http://www.springframework.org/schema/jee"
>>>      xsi:schemaLocation=" http://www.springframework.org/schema/beans
>>>
>>> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
>>>                                              http://camel.apache.org/schema/spring
>>>                                              http://camel.apache.org/schema/spring/camel-spring.xsd
>> *** change the upper line to ***
>> http://camel.apache.org/schema/spring/camel-spring.2.3.0.xsd
>>
>>>                                              http://www.springframework.org/schema/jee
>>>
>>> http://www.springframework.org/schema/jee/spring-jee-2.0.xsd
>>> ">
>>>
>>>
>>> My XML files look like this at the moment. What to do to use the local
>>> 2.3
>>> schemas in the jar?
>>
>> Willem
>>
>>
>
> --
> View this message in context: http://old.nabble.com/How-to-use-offline-Camel-Spring-schema--%28Camel-2.3%29-tp28767115p28767432.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Re: How to use offline Camel Spring schema? (Camel 2.3)

Posted by ankelee <an...@gmail.com>.
Hi Willem

That is not working. Can't even access that url in a browser.



willem.jiang wrote:
> 
> The camel-spring-2.3.0.xsd is published into the apache camel web sit.
> But the camel-spring.xsd is not updated with the latest 
> camel-spring-2.3.0.xsd. You can work around this issue by doing the 
> below change .
> 
> ankelee wrote:
>> <beans xmlns="http://www.springframework.org/schema/beans"
>> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xmlns:camel="http://camel.apache.org/schema/spring"
>> 	xmlns:jee="http://www.springframework.org/schema/jee"
>> 	xsi:schemaLocation=" http://www.springframework.org/schema/beans 
>> 	                       
>> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd 
>>           					http://camel.apache.org/schema/spring
>>           					http://camel.apache.org/schema/spring/camel-spring.xsd
> *** change the upper line to ***
> http://camel.apache.org/schema/spring/camel-spring.2.3.0.xsd
> 
>>           					http://www.springframework.org/schema/jee
>>           				
>> http://www.springframework.org/schema/jee/spring-jee-2.0.xsd
>> ">
>> 
>> 
>> My XML files look like this at the moment. What to do to use the local
>> 2.3
>> schemas in the jar?
> 
> Willem
> 
> 

-- 
View this message in context: http://old.nabble.com/How-to-use-offline-Camel-Spring-schema--%28Camel-2.3%29-tp28767115p28767432.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: How to use offline Camel Spring schema? (Camel 2.3)

Posted by Claus Ibsen <cl...@gmail.com>.
On Thu, Jun 3, 2010 at 3:16 PM, Willem Jiang <wi...@gmail.com> wrote:
> The camel-spring-2.3.0.xsd is published into the apache camel web sit.
> But the camel-spring.xsd is not updated with the latest
> camel-spring-2.3.0.xsd. You can work around this issue by doing the below
> change .
>

Ah we need Hadrian to upload the XSD so its up to date.


> ankelee wrote:
>>
>> <beans xmlns="http://www.springframework.org/schema/beans"
>>        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xmlns:camel="http://camel.apache.org/schema/spring"
>>        xmlns:jee="http://www.springframework.org/schema/jee"
>>        xsi:schemaLocation=" http://www.springframework.org/schema/beans
>>
>> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
>>                                     http://camel.apache.org/schema/spring
>>
>>  http://camel.apache.org/schema/spring/camel-spring.xsd
>
> *** change the upper line to ***
> http://camel.apache.org/schema/spring/camel-spring.2.3.0.xsd
>
>>
>>  http://www.springframework.org/schema/jee
>>
>>  http://www.springframework.org/schema/jee/spring-jee-2.0.xsd
>> ">
>>
>>
>> My XML files look like this at the moment. What to do to use the local 2.3
>> schemas in the jar?
>
> Willem
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Re: How to use offline Camel Spring schema? (Camel 2.3)

Posted by Willem Jiang <wi...@gmail.com>.
The camel-spring-2.3.0.xsd is published into the apache camel web sit.
But the camel-spring.xsd is not updated with the latest 
camel-spring-2.3.0.xsd. You can work around this issue by doing the 
below change .

ankelee wrote:
> <beans xmlns="http://www.springframework.org/schema/beans"
> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:camel="http://camel.apache.org/schema/spring"
> 	xmlns:jee="http://www.springframework.org/schema/jee"
> 	xsi:schemaLocation=" http://www.springframework.org/schema/beans 
> 	                       
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd 
>           					http://camel.apache.org/schema/spring
>           					http://camel.apache.org/schema/spring/camel-spring.xsd
*** change the upper line to ***
http://camel.apache.org/schema/spring/camel-spring.2.3.0.xsd

>           					http://www.springframework.org/schema/jee
>           					http://www.springframework.org/schema/jee/spring-jee-2.0.xsd
> ">
> 
> 
> My XML files look like this at the moment. What to do to use the local 2.3
> schemas in the jar?

Willem

Re: How to use offline Camel Spring schema? (Camel 2.3)

Posted by ankelee <an...@gmail.com>.
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:camel="http://camel.apache.org/schema/spring"
	xmlns:jee="http://www.springframework.org/schema/jee"
	xsi:schemaLocation=" http://www.springframework.org/schema/beans 
	                       
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd 
          					http://camel.apache.org/schema/spring
          					http://camel.apache.org/schema/spring/camel-spring.xsd
          					http://www.springframework.org/schema/jee
          					http://www.springframework.org/schema/jee/spring-jee-2.0.xsd
">


My XML files look like this at the moment. What to do to use the local 2.3
schemas in the jar?
-- 
View this message in context: http://old.nabble.com/How-to-use-offline-Camel-Spring-schema--%28Camel-2.3%29-tp28767115p28767130.html
Sent from the Camel - Users mailing list archive at Nabble.com.