camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-6333) StringQuoteHelper not able to handle single quote inside double quote
Date Tue, 14 May 2013 07:27:16 GMT

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

Claus Ibsen resolved CAMEL-6333.
--------------------------------

    Resolution: Fixed

Thanks for reporting.
                
> 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

Mime
View raw message