cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorg Heymans ...@domek.be>
Subject Re: jxtemplate output garbles markup
Date Fri, 15 Oct 2004 18:39:04 GMT


Vadim Gritsenko wrote:
> 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.

fair enough, is this because one could produce invalid xml data otherwise?


Jorg


Mime
View raw message