Hi Stefan,

Perhaps someone else has a more specific idea what the problem is, but as a general Cocoon debugging technique have you looked at the generated Java file (myaccount_details_xsp.java)? That's usually a good place to start solving such error messages. The generated java files should be under the work directory of your Tomcat installation (probably a path like work\Standalone\localhost\yourwebappname\cocoon-files\org\apache\cocoon\www\xmlmill\xsp\).

I haven't used esql, so I don't know if that could be causing the problem.

John

Stefan Geelen wrote:

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 ?


-- --------------------------------------------------------- Jentro Technologies GmbH John L. Webber, Software Development ---------------------------------------------------------




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to