could you use a whitespace tag with escapeXML true and trim false?
On 7/6/05, Christian Kalkhoff <[EMAIL PROTECTED]> wrote:
> Hi Paul,
>
> sorry about that. See:
>
> <myTag>
> <content>${myVariable.firstname}</content>
> </myTag>
>
> If myVariable.getFirstname returns a string containing one of the xml
> special chars like & " <> further processing of the xml will fail.
>
> I could handle that in the getter of my bean, but i think there is no
> place for such content rewriting. As jelly knows it outputs XML (does i
> do so?) it should do that for me.
>
> Christian
>
> Paul Libbrecht wrote:
> > Can you be more precise, maybe make a tiny test-case ?
> > paul
> >
> >
> > Le 6 juil. 05, à 14:05, Christian Kalkhoff a écrit :
> >
> >> Hi,
> >>
> >> i ran into the problem, that jelly outputs invalid xml if one of the
> >> beans available as context variables contains e.g. an & char. Is there
> >> a way to tell jelly (or jexl) to escape such xml special chars. Are
> >> there workarounds?
> >>
> >> Regards,
> >> Christian
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
http://www.multitask.com.au/people/dion/
"You are going to let the fear of poverty govern your life and your
reward will be that you will eat, but you will not live." - George
Bernard Shaw
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]