You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Darwish <ot...@progressoft.com> on 2013/03/19 12:51:31 UTC
Simple expression in spring XML not work if it come in multiple xml
line
Hi ,
if I have a simple expression like this (its auto formatted by my eclipse
xml editor) :
<simple>${property.p1} contains 'xyz' and
${property.p2} contains 'false'
</simple>
it won’t work ,since the XML will be parsed as : and${property.p2} , the
carriage return/line feed will be trimmed which lead to simple expression
parsing exception .
to overcome ,I increase my editor line width so the simple expression
formatted in one single line !
Any suggestion?
-----
Othman Darwish
ProgressSoft Corp.
--
View this message in context: http://camel.465427.n5.nabble.com/Simple-expression-in-spring-XML-not-work-if-it-come-in-multiple-xml-line-tp5729408.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Simple expression in spring XML not work if it come in multiple
xml line
Posted by Darwish <ot...@progressoft.com>.
Thanks Claus ,
isseue created @ https://issues.apache.org/jira/browse/CAMEL-6179
-----
Othman Darwish
ProgressSoft Corp.
--
View this message in context: http://camel.465427.n5.nabble.com/Simple-expression-in-spring-XML-not-work-if-it-come-in-multiple-xml-line-tp5729408p5729426.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Simple expression in spring XML not work if it come in multiple
xml line
Posted by Claus Ibsen <cl...@gmail.com>.
On Tue, Mar 19, 2013 at 3:01 PM, Darwish <ot...@progressoft.com> wrote:
> Hi,
>
> camel version is : 2.10.1
>
Yeah we should add a single space when connecting the lines. Feel free
to log a JIRA ticket
http://camel.apache.org/support
>
>
>
> -----
> Othman Darwish
> ProgressSoft Corp.
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Simple-expression-in-spring-XML-not-work-if-it-come-in-multiple-xml-line-tp5729408p5729421.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Re: Simple expression in spring XML not work if it come in multiple
xml line
Posted by Darwish <ot...@progressoft.com>.
Hi,
camel version is : 2.10.1
-----
Othman Darwish
ProgressSoft Corp.
--
View this message in context: http://camel.465427.n5.nabble.com/Simple-expression-in-spring-XML-not-work-if-it-come-in-multiple-xml-line-tp5729408p5729421.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Simple expression in spring XML not work if it come in multiple
xml line
Posted by Claus Ibsen <cl...@gmail.com>.
Hi
What Camel version do you use?
On Tue, Mar 19, 2013 at 12:51 PM, Darwish
<ot...@progressoft.com> wrote:
> Hi ,
>
> if I have a simple expression like this (its auto formatted by my eclipse
> xml editor) :
>
> <simple>${property.p1} contains 'xyz' and
> ${property.p2} contains 'false'
> </simple>
>
> it won’t work ,since the XML will be parsed as : and${property.p2} , the
> carriage return/line feed will be trimmed which lead to simple expression
> parsing exception .
>
> to overcome ,I increase my editor line width so the simple expression
> formatted in one single line !
>
> Any suggestion?
>
>
>
>
> -----
> Othman Darwish
> ProgressSoft Corp.
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Simple-expression-in-spring-XML-not-work-if-it-come-in-multiple-xml-line-tp5729408.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen