You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2013/05/13 18:59:16 UTC

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

     [ https://issues.apache.org/jira/browse/CAMEL-6333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-6333:
-------------------------------

         Priority: Minor  (was: Major)
    Fix Version/s: 2.12.0
                   2.11.1
    
> 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
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.11.1, 2.12.0
>
>
> 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