Re: jstl x:parse outputs data

2007-04-20 Thread Isabelle Phan
with both Xalan 2.7.0 and 2.5.0 I now get the error WARN: Unhandled exception org.apache.jasper.JasperException: Exception in JSP: /index.jspx:102 100:c:import var=rssFeed url=http://www.expasy.org/spotlight/index.xml/ 101:x:parse var=rss xml=${rssFeed}/ 102: x:out

Re: jstl x:parse outputs data

2007-04-20 Thread Isabelle Phan
Thanks Kris, x:parse tag is now silent :-) however, I can't get x:out to output anything, it throws ERROR: Nested in javax.servlet.ServletException: javax.servlet.jsp.JspException: org/apache/xpath/XPathException: java.lang.NoClassDefFoundError: org/apache/xpath/XPathException I read

Re: jstl x:parse outputs data

2007-04-20 Thread zuber Ali
Hi Isabelle, Can you send code where u r using for output? Regards, zuber On 4/20/07, Isabelle Phan [EMAIL PROTECTED] wrote: Thanks Kris, x:parse tag is now silent :-) however, I can't get x:out to output anything, it throws ERROR: Nested in javax.servlet.ServletException:

Re: jstl x:parse outputs data

2007-04-20 Thread Bob Arnott
Isabelle Phan wrote: Thanks Kris, x:parse tag is now silent :-) however, I can't get x:out to output anything, it throws ERROR: Nested in javax.servlet.ServletException: javax.servlet.jsp.JspException: org/apache/xpath/XPathException: java.lang.NoClassDefFoundError:

Re: jstl x:parse outputs data

2007-04-20 Thread Kris Schneider
For now, try removing session=false from your page directive. Isabelle Phan wrote: with both Xalan 2.7.0 and 2.5.0 I now get the error WARN: Unhandled exception org.apache.jasper.JasperException: Exception in JSP: /index.jspx:102 100: c:import var=rssFeed

Re: jstl x:parse outputs data

2007-04-20 Thread Kris Schneider
http://issues.apache.org/bugzilla/show_bug.cgi?id=35216 This has been fixed but not yet released. Kris Schneider wrote: For now, try removing session=false from your page directive. Isabelle Phan wrote: with both Xalan 2.7.0 and 2.5.0 I now get the error WARN: Unhandled exception

Re: jstl x:parse outputs data

2007-04-19 Thread Kris Schneider
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

Re: jstl x:parse outputs data

2007-04-19 Thread Isabelle Phan
Hi Kris the x taglib is declared like other jstl libraries: xmlns:x=jstl-xml it follows the taglib declarations in web.xml, but from the output you are right, it seems like the tag is ignored: x:parse escapeXml=true xml=?xml version=1.0 encoding=ISO-8859-1? etc... I have the vague

Re: jstl x:parse outputs data

2007-04-19 Thread Isabelle Phan
this is the complete declaration in the JSP: jsp:root xmlns=http://www.w3.org/1999/xhtml; xmlns:jsp=http://java.sun.com/JSP/Page; xmlns:tags=urn:jsptagdir:/WEB-INF/tags/ xmlns:c=jstl-core xmlns:fmt=jstl-fmt xmlns:x=jstl-xml

Re: jstl x:parse outputs data

2007-04-19 Thread Kris Schneider
You don't need those taglib entries in web.xml. Remove them and use the proper JSTL 1.1 URIs: jsp:root xmlns:jsp=”http://java.sun.com/JSP/Page” xmlns:c=http://java.sun.com/jsp/jstl/core; xmlns:fmt=http://java.sun.com/jsp/jstl/fmt;