commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wannheden, Knut" <knut.wannhe...@paranor.ch>
Subject [jelly] body as unescaped xml
Date Wed, 26 Feb 2003 15:12:43 GMT
Hi,

I was surprised when I noticed that the following two scipts snippets don't
produce the same result:

	<foo/>

and:

	<j:set var="bar">
	 <foo/>
	</j:set>
	${bar}

The first one produces something like "<foo></foo>" whereas the second
produces something like "&lt;foo&gt;&lt;/foo&gt;".  I'm sure there's a good
reason for this I can't seem to think of... can someone explain it to me?
Also, is there another way to achieve what I'm trying to do?

TIA,

--
knut

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message