[ 
https://issues.apache.org/jira/browse/CAMEL-6624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13736629#comment-13736629
 ] 

Willem Jiang edited comment on CAMEL-6624 at 8/12/13 8:05 AM:
--------------------------------------------------------------

I just did some tests with your test case and found the tab character works as 
design.
You need to use {code}"	"{code} to specify the tab character in XML.

You can find for information 
[here|http://www.pcreview.co.uk/forums/tab-characters-xml-file-t3540246.html]


                
      was (Author: njiang):
    I just did some tests with your test case and found the tab character works 
as design.
You need to use "	" to specify the tab character in XML.

You can find for information 
[here|http://www.pcreview.co.uk/forums/tab-characters-xml-file-t3540246.html]


                  
> csv component doen't accept tab character as delimiter 
> -------------------------------------------------------
>
>                 Key: CAMEL-6624
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6624
>             Project: Camel
>          Issue Type: Bug
>          Components: extra
>    Affects Versions: 2.11.1
>         Environment: java version "1.7.0_25"
> Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
> Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
> 64 bit Ubuntu linux 12.04
>            Reporter: Bob Jolliffe
>            Assignee: Willem Jiang
>              Labels: easyfix
>
> I have a route like the following:
>         <route>
>             <from uri="file://tracnet?charset=ISO-8859-1"/>
>             <c:split streaming="true">
>                 <c:tokenize token="\n"/>
>                 <unmarshal>
>                     <csv delimiter="\t"/>
>                 </unmarshal>
>                 <to uri="log:org.hisp.dhix?showAll=true"/>
>             </c:split>
>         </route>
> My camel context complains that the delimiter should be of length 1 when I 
> try to load this.  It seems it sees my escaped tab as 2 characters?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to