You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by Jim Kennedy <ji...@gigaheads.com> on 2003/06/10 23:08:42 UTC
JspTranslate: org/saxpath/SAXPathException.
I get this error during compilation. Just having this problem with JSLT xml
tags.
When I take the x:out tag away it compiles. Not sure why. Can't see it.
Can anyone else see the problem
<%@page import="com.ka.util.*" %>
<%@page import="java.util.*" %>
<%@taglib uri="/WEB-INF/x.tld" prefix="x" %>
<%@taglib uri="/WEB-INF/c.tld" prefix="c" %>
<!-- #BeginEditable "body" -->
<h1>——— Leased Documents ———</h1>
<table width="100%" border="0" cellspacing="0" cellpadding="0" >
<tr><td>The following scanned documents are avaiable in PDF format:
</td>
</tr>
</table>
<x:parse xml="xmldoc_reader" var="document"/>
<x:out select="count($document//company)" />
<!-- #EndEditable "body" -->
---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org
Re: JspTranslate: org/saxpath/SAXPathException.
Posted by Jim Kennedy <ji...@gigaheads.com>.
Figured this one out guys. This ones on me for being stupid.
I was missing a jar in my classpath. The name of the jar was saxpath.jar.
I only had jstl.jar and standard.jar (from apache) in the lib dir of my WAR.
Jim Kennedy
IT Consultant
-----------------------------------------------------
----- Original Message -----
From: "Jim Kennedy" <ji...@gigaheads.com>
To: "Tag Libraries Users List" <ta...@jakarta.apache.org>
Sent: Tuesday, June 10, 2003 5:08 PM
Subject: JspTranslate: org/saxpath/SAXPathException.
> I get this error during compilation. Just having this problem with JSLT
xml
> tags.
>
> When I take the x:out tag away it compiles. Not sure why. Can't see it.
> Can anyone else see the problem
>
>
>
>
>
> <%@page import="com.ka.util.*" %>
>
> <%@page import="java.util.*" %>
>
> <%@taglib uri="/WEB-INF/x.tld" prefix="x" %>
>
> <%@taglib uri="/WEB-INF/c.tld" prefix="c" %>
>
> <!-- #BeginEditable "body" -->
>
>
> <h1>——— Leased Documents ———</h1>
>
> <table width="100%" border="0" cellspacing="0" cellpadding="0" >
>
> <tr><td>The following scanned documents are avaiable in PDF format:
>
> </td>
>
> </tr>
>
> </table>
>
> <x:parse xml="xmldoc_reader" var="document"/>
>
> <x:out select="count($document//company)" />
>
> <!-- #EndEditable "body" -->
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: taglibs-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org