Hi,

The error reported tells you that you can't use the `mode` attribute within
the <tokenize/> tag. Here is the schema definition (
http://camel.apache.org/schema/spring/camel-spring-2.10.7.xsd). You will
simply your life if you use autocompletion for the XML within your IDE
studio (Eclipse, ...).

Regards,

On Tue, Oct 21, 2014 at 11:15 AM, contactreji <contactr...@gmail.com> wrote:

> Hi Charles
>
>
> Thanks for you input.
>
> I have change to token.  But i get errors as
>
> *Caused by: org.xml.sax.SAXParseException; lineNumber: 50; columnNumber:
> 24;
> cvc-complex-type.3.2.2: Attribute 'mode' is not allowed to appear in
> element
> 'tokenize'.
>         at
>
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)
>         at
>
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:134)
>         at
>
> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:437)*
>
> Looks like xtokenise is available from Camel 2.14.
>
> I am using camel 2.10.xx version. Is there a way to achieve the use case
> with this version? or rather with <tokenize> ?
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-Splitter-EIP-tp5757844p5757847.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Charles Moulliard
Apache Committer / Architect @RedHat
Twitter : @cmoulliard | Blog :  http://cmoulliard.github.io

Reply via email to