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-5294) DSL expressions should auto trim
Date Sun, 27 May 2012 12:24:23 GMT

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

Claus Ibsen resolved CAMEL-5294.
--------------------------------

    Resolution: Fixed

Added trim option to language expression in the DSL. So people can turn this off, if used
in rare cases.
                
> DSL expressions should auto trim
> --------------------------------
>
>                 Key: CAMEL-5294
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5294
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-blueprint, camel-spring
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.10.0
>
>         Attachments: CAMEL-5294.patch
>
>
> See CAMEL-5285
> We should auto trim the XML DSLs as people may configure the DSL with newlines, etc
> {code:xml}
> <transform>
>   <simple>
>     data=${body}
>   </simple>
> </transform>
> {code}
> Notice how we use new lines in the simple, what you should really do is:
> {code:xml}
> <transform>
>   <simple>data=${body}</simple>
> </transform>
> {code}
> We should then support escapes, so you can do \n to indicate newline

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message