Re: jstl x:parse outputs data

Kris Schneider <[email protected]>
Newsgroups gmane.comp.jakarta.taglibs.user
Message-ID <[email protected]>
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 
> [email protected] 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:[email protected]>
D.O.Tech       <http://www.dotech.com/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.