Hi Yeah from a XML point of view, where people may define it as <simple> foo </simple>
I guess it would be rare for people wanting to have leading newlines, or tab's in the expression, certainly not for predicates. Fell free to create a JIRA ticket http://camel.apache.org/support And patches with unit tests is of course welcome http://camel.apache.org/contributing.html On Fri, Feb 3, 2012 at 10:53 PM, Stefan Eder <stefan.e...@ebuconnect.de> wrote: > Currently (2.9.0) simple expressions starting with '\n' cause a > SimpleParserException to be thrown (Unexpected token ...). > Stripping leading/trailing whitespace would allow more flexible formatting > of Spring DSL that embeds simple language expressions. > > Thanks, Stefan > -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/