cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: jxtemplate output garbles markup
Date Fri, 15 Oct 2004 18:22:51 GMT
Jorg Heymans wrote:
> Hi,
> 
> This has come up a few times before without solution.
> 
> <jx:out value="{$mybean.data}"/> produces "&lt;test/&gt;" if data 
> contains "<test/>".
> Using {$mybean.data} yields the same results.
> 
> Is there a way around this?

It seems to be correct behavior - as long as "mybean.data" is a String object. 
Now, it would be wrong if "data" is instane of XMLizable, or XMLFragment, or DOM 
Node.

Vadim

Mime
View raw message