[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xalan-j-users
Subject:    Xalan reports 'equal symbol expected' ???
From:       notarysojac <lance () drake ! org>
Date:       2007-01-16 5:59:04
Message-ID: 8385155.post () talk ! nabble ! com
[Download RAW message or body]

Can anyone tell me what might be the problem here?  There is nothing
fundamentally wrong with the JSP or the XSL - but nomatter WHAT I do to the
code - the same error (same file, same line, same char) is returned:

root cause
org.apache.jasper.JasperException: /jcm/app/jsp/tableframe.jsp(8,62) equal
symbol expected

org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)

org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)


CURIOUS: The code runs fine if it is executed without any Xalan involvement. 
However, when I perform a 'dispatch' to the very same JSP page which invokes
the very same XSL stylesheet, this error is returned.  

Here is the code from the JSP file in question: 

<%@ page contentType="text/html; charset=UTF-8" 
language="java" import="java.sql.*" errorPage="" %>

<%@ include file="/myapp/jsp/jstlrefs.jsp" %>
<% String house = (String) session.getAttribute("house"); %>



-- 
View this message in context: \
http://www.nabble.com/Xalan-reports-%27equal-symbol-expected%27-----tf3019234.html#a8385155
 Sent from the Xalan - J - Users mailing list archive at Nabble.com.


[Attachment #3 (text/html)]

Can anyone tell me what might be the problem here?  There is nothing fundamentally \
wrong with the JSP or the XSL - but nomatter WHAT I do to the code - the same error \
(same file, same line, same char) is returned:

<b>root cause</b>
org.apache.jasper.JasperException: /jcm/app/jsp/tableframe.jsp(8,62) equal symbol \
expected  org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
  org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)


<b>CURIOUS:</b> The code runs fine if it is executed without any Xalan involvement.  \
However, when I perform a 'dispatch' to the very same JSP page which invokes the very \
same XSL stylesheet, this error is returned.  

<b>Here is the code from the JSP file in question: </b>

<%@ page contentType="text/html; charset=UTF-8" 
language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" \
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <%@ include \
file="/myapp/jsp/jstlrefs.jsp" %> <% String house = (String) \
session.getAttribute("house"); %> <x:parse var="doc" xml="${house}" />
<c:import var="thefile" url="/myapp/xsl/tableframe.xsl" />
<x:transform xml="${house}" xslt="${thefile}" />
<br><hr align="left" width="300">
View this message in context: <a \
href="http://www.nabble.com/Xalan-reports-%27equal-symbol-expected%27-----tf3019234.html#a8385155">Xalan \
reports 'equal symbol expected' ???</a><br> Sent from the <a \
href="http://www.nabble.com/Xalan---J---Users-f275.html">Xalan - J - Users</a> \
mailing list archive at Nabble.com.<br>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic