tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kris Schneider <k...@dotech.com>
Subject Re: jstl x:parse outputs data
Date Thu, 19 Apr 2007 12:38:41 GMT
Are you sure you're properly declaring the x taglib? It almost looks like 
<x:parse> is being treated as a plain XML element and ${rssFeed} is simply 
evaluated and used for the value of the xml attribute. Can you view the 
source of the generated page?

Isabelle Phan wrote:
> My problem: x:parse is outputting the RSS feed content even though the 
> JSP does not contain <x:out> or <c:out> statement
> 
> The code:
> 
> <c:import var="rssFeed" url="http://www.expasy.org/spotlight/index.xml"/>
> <x:parse var="rss" xml="${rssFeed}"/>
> 
> output:
> 
> http://www.expasy.org/spotlight/ one month, one protein en-us 
> Vivienne.Gerritsen@isb-sib.ch 2007-03-26T10:13:59+01:00 hourly 1 
> 2000-01-01T12:00+00:00
> etc...
> 
> until:
> 
> while obestatin reports adequacy. 494@http://www.expasy.org/spotlight/ 
> Article 2006-01-19T13:22:59+01:00 " var="rss"/>
> 
> 
> It looks as if part of the x:parse tag is printed on the HTML page!
> 
> I am using JSTL 1.1
> 
> Anybody seen this before?

-- 
Kris Schneider <mailto:kris@dotech.com>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message