Hi Willem created a ticket and implementa fix, which will be part of the next Camel 2.9.1 release.
On Sun, Feb 5, 2012 at 10:10 AM, Claus Ibsen <[email protected]> wrote: > 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 <[email protected]> > 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: [email protected] > Web: http://fusesource.com > Twitter: davsclaus, fusenews > Blog: http://davsclaus.blogspot.com/ > Author of Camel in Action: http://www.manning.com/ibsen/ -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
