Thanks Charles

My camel xml file looks like 
*
<?xml version="1.0" encoding="UTF-8"?>


<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:jaxws="http://cxf.apache.org/jaxws";
xmlns:http-conf="http://cxf.apache.org/transports/http/configuration";
        xmlns:http="http://cxf.apache.org/transports/http/configuration";
        xmlns:ctx="http://www.springframework.org/schema/context";
        xmlns:cxf="http://camel.apache.org/schema/cxf";
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
        xmlns:osgi="http://www.springframework.org/schema/osgi";
xmlns:sec="http://cxf.apache.org/configuration/security";

        xsi:schemaLocation="
         http://cxf.apache.org/bindings/soap
http://cxf.apache.org/schemas/configuration/soap.xsd
         http://camel.apache.org/schema/cxf 
         http://camel.apache.org/schema/cxf/camel-cxf.xsd
                 http://cxf.apache.org/jaxws 
http://cxf.apache.org/schemas/jaxws.xsd         
         http://www.springframework.org/schema/beans 
         http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
         http://camel.apache.org/schema/spring 
         http://camel.apache.org/schema/spring/camel-spring-2.10.7.xsd
         http://cxf.apache.org/configuration/security
http://cxf.apache.org/schemas/configuration/security.xsd
         http://cxf.apache.org/transports/http/configuration
http://cxf.apache.org/schemas/configuration/http-conf.xsd
         http://cxf.apache.org/bindings/soap
http://cxf.apache.org/schemas/configuration/soap.xsd
         http://www.springframework.org/schema/osgi
http://www.springframework.org/schema/osgi/spring-osgi.xsd
          http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd
         ">


        <camelContext xmlns="http://camel.apache.org/schema/spring";>
                <route>
                        <from uri="file://C:/Users/re267981/Desktop/input" />
                        <split streaming="true">
                                <tokenize 
mode="w">ns:SyncPersonnel/ns:DataArea/ns:Personnel</tokenize>
                                <to 
uri="file://C:/Users/re267981/Desktop/output" />
                        </split>
                        
                </route>

        </camelContext>

</beans>
*


It gives me a new set or errors as 

*Caused by: org.xml.sax.SAXParseException; lineNumber: 29; columnNumber: 16;
cvc-complex-type.2.4.a: Invalid content was found starting with element
'camelContext'. One of
'{"http://www.springframework.org/schema/beans":description,
"http://www.springframework.org/schema/beans":import,
"http://www.springframework.org/schema/beans":alias,
"http://www.springframework.org/schema/beans":bean,
WC[##other:"http://www.springframework.org/schema/beans"]}' is expected.
        at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)*

Can u suggest if there is some version mismatches to be checked? Is the mode
attribute really usable in camel 2.10.x versions?



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-Splitter-EIP-tp5757844p5757850.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to