You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Nikolaj Tørring (JIRA)" <ji...@apache.org> on 2013/05/03 10:48:15 UTC

[jira] [Created] (CAMEL-6333) StringQuoteHelper not able to handle single quote inside double quote

Nikolaj Tørring created CAMEL-6333:
--------------------------------------

             Summary: StringQuoteHelper not able to handle single quote inside double quote
                 Key: CAMEL-6333
                 URL: https://issues.apache.org/jira/browse/CAMEL-6333
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.11.0
            Reporter: Nikolaj Tørring


The StringQuoteHelper does not handle single quotes inside double quotes correctly, as these should be seen as part of the content inside the double quote and not an actual single quote start.

This means that a route containing a simple transform like this will fail:

{code:xml} 
<transform>  
  <simple>${in.body.replace("'UNH+", "'\nUNH+")}</simple>
</transform>
{code} 



--
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