Hi

Have you tried with something simpler. Replaceing foo -> bar, just to verify 
that the ' is not causing trouble.


Med venlig hilsen
 
Claus Ibsen
......................................
Silverbullet
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576
Web: www.silverbullet.dk

-----Original Message-----
From: Vadim Chekan [mailto:[EMAIL PROTECTED] 
Sent: 19. september 2008 02:20
To: [email protected]
Subject: El

Why this one does not work as expected?

     <route>
       <from uri="timer://kickoff?period=10000"/>
       <setBody><el>bla'l</el></setBody>
        <setHeader headerName="Body">
          <el>${in.body}</el>
        </setHeader>
        <setBody>
          <el>
            ${in.body.replace("'","cc")}
          </el>
        </setBody>
       <to uri="mock:Status"/>
     </route>

I have output "blacl" instead of "blaccl"

-- 
>From RFC 2631: In ASN.1, EXPLICIT tagging is implicit unless IMPLICIT
is explicitly specified

Reply via email to