[DISCUSS] - XML DSL and trimming value

2012-05-20 Thread Claus Ibsen
Hi We have a number of JIRA tickets which is related https://issues.apache.org/jira/browse/CAMEL-5294 https://issues.apache.org/jira/browse/CAMEL-5285 https://issues.apache.org/jira/browse/CAMEL-4990 When you use the XML DSLs you may have a coding style where you have newlines, and spaces etc. in

Re: [DISCUSS] - XML DSL and trimming value

2012-05-20 Thread Christian Müller
+1 Make sense for me. Best, Christian Sent from a mobile device Am 20.05.2012 12:34 schrieb "Claus Ibsen" : > Hi > > We have a number of JIRA tickets which is related > https://issues.apache.org/jira/browse/CAMEL-5294 > https://issues.apache.org/jira/browse/CAMEL-5285 > https://issues.apache.org

Re: [DISCUSS] - XML DSL and trimming value

2012-05-20 Thread Claus Ibsen
Hi Just a heads up you can now easier add new lines in XML DSLs as I added support for using escaped values in the XML DSLs. https://issues.apache.org/jira/browse/CAMEL-5295 eg from an unit test in XML DSL you can do, notice the \n to indicate new line. Body is\no

Re: [DISCUSS] - XML DSL and trimming value

2012-05-20 Thread David Karlsen
+1 for explicitly using control chars. Den 20. mai 2012 16:28 skrev "Claus Ibsen" følgende: > Hi > > Just a heads up you can now easier add new lines in XML DSLs as I > added support for using escaped values in the XML DSLs. > https://issues.apache.org/jira/browse/CAMEL-5295 > > eg from an unit t

Re: [DISCUSS] - XML DSL and trimming value

2012-05-20 Thread Hadrian Zbarcea
My vote would be for *no* auto trim. Makes things predictable and easy to understand. Hadrian On 05/20/2012 06:33 AM, Claus Ibsen wrote: Hi We have a number of JIRA tickets which is related https://issues.apache.org/jira/browse/CAMEL-5294 https://issues.apache.org/jira/browse/CAMEL-5285 https

Re: [DISCUSS] - XML DSL and trimming value

2012-05-20 Thread Claus Ibsen
On Sun, May 20, 2012 at 6:01 PM, Hadrian Zbarcea wrote: > My vote would be for *no* auto trim. Makes things predictable and easy to > understand. > > Hadrian > Well yeah we should improve on this. What I am talking about is the XML DSLs. This is the ones where people is struggling when you can h

Re: [DISCUSS] - XML DSL and trimming value

2012-05-20 Thread Chris Geer
On Sun, May 20, 2012 at 12:28 PM, Claus Ibsen wrote: > On Sun, May 20, 2012 at 6:01 PM, Hadrian Zbarcea > wrote: > > My vote would be for *no* auto trim. Makes things predictable and easy to > > understand. > > > > Hadrian > > > > Well yeah we should improve on this. > > What I am talking about