Hi,
I have following XSP page:
-------------------------------------
<?xml version="1.0"
encoding="ISO-8859-1"?>
<xsp:page language="java" xmlns:xsp="http://apache.org/xsp" xmlns:esql="http://apache.org/cocoon/SQL/v2" > <page>
<p>TEST</p> </page> </xsp:page> When called it generates folllowing
error:
----------------------------------------------------------
Failed to execute pipeline.
org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling myaccount_details_xsp: ERROR 1 (org\apache\cocoon\www\xmlmill\xsp\myaccount_details_xsp.java): ... private SQLException _esql_exception = null; private StringWriter _esql_exception_writer = null; // start error (lines 131-131) "Syntax error on keyword "this"; "boolean", "void", "byte", "short", "int", "long", "char", "float", "double", "Identifier", "interface", "class" expected" this.contentHandler.startElement( // end error "", "sql-list", "sql-list", xspAttr ... Line 131, column 0: Syntax error on keyword "this"; "boolean", "void", "byte", "short", "int", "long", "char", "float", "double", "Identifier", "interface", "class" expected If I remove the xmlns:esql="http://apache.org/cocoon/SQL/v2" it does work. So the problem has apparently to do with the esql logisheet ? The .xsp is defined in the sitemap.xsp as follows: <map:pipeline
internal-> I use Cocoon 2.1.3 in a Windows XP environment with Tomcat 4.0.4. I compiled Cocoon from the start with no changes done. Has anyone any idea ? Regards, Stefan |
- Re: Language Exception when compiling XSP page Stefan Geelen
- Re: Language Exception when compiling XSP page John L. Webber
- HELP PLEASE: Language Exception when compiling XS... Stefan Geelen
- Re: SOLVED: Language Exception when compiling... Stefan Geelen