camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Please consider to trim simple expressions before parsing
Date Sun, 05 Feb 2012 09:10:50 GMT

Yeah from a XML point of view, where people may define it as

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

And patches with unit tests is of course welcome

On Fri, Feb 3, 2012 at 10:53 PM, Stefan Eder <> 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
Twitter: davsclaus, fusenews
Author of Camel in Action:

View raw message