cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simeon Walker <sim...@sbs.bangor.ac.uk>
Subject [C2] problem with xsp:logic tags in latest checkout
Date Thu, 01 Feb 2001 11:47:58 GMT
Hi,
  in the current version of C2 the xsp:logic tags declaring variables
at the begining of xsp pages  do not get included in the generated java 
source code. The cocoon/forms/process-department sample is an example. 
Later xsp:logic tags that reference the variables cause the compilation 
to fail.

Below is the cocoon error page (hope it's readable).

Regards,
Simeon

Error creating the resource
          Error compiling _process_department_xsp: Line 0, column 0:
/usr/local/java/jakarta-tomcat-4.0-b1/work/localhost/cocoon/_usr/_local/_java/_jakarta_tomcat_4_0_b1/_webapps/_cocoon/_docs/_samples/_forms/_process_department_xsp.java:139:
Undefined variable: process process = ^ Line 0, column 0:
         
/usr/local/java/jakarta-tomcat-4.0-b1/work/localhost/cocoon/_usr/_local/_java/_jakarta_tomcat_4_0_b1/_webapps/_cocoon/_docs/_samples/_forms/_process_department_xsp.java:141:
Undefined variable: name name = ^ Line 0, column 0:
         
/usr/local/java/jakarta-tomcat-4.0-b1/work/localhost/cocoon/_usr/_local/_java/_jakarta_tomcat_4_0_b1/_webapps/_cocoon/_docs/_samples/_forms/_process_department_xsp.java:161:
Undefined variable: process XSPObjectHelper.xspExpr(contentHandler,
process); ^ Line 0, column 0:
         
/usr/local/java/jakarta-tomcat-4.0-b1/work/localhost/cocoon/_usr/_local/_java/_jakarta_tomcat_4_0_b1/_webapps/_cocoon/_docs/_samples/_forms/_process_department_xsp.java:299:
Undefined variable: currId currId = ^ Line 0, column 0:
         
/usr/local/java/jakarta-tomcat-4.0-b1/work/localhost/cocoon/_usr/_local/_java/_jakarta_tomcat_4_0_b1/_webapps/_cocoon/_docs/_samples/_forms/_process_department_xsp.java:370:
Undefined variable: currId (currId))); ^ Line 0, column 0:
         
/usr/local/java/jakarta-tomcat-4.0-b1/work/localhost/cocoon/_usr/_local/_java/_jakarta_tomcat_4_0_b1/_webapps/_cocoon/_docs/_samples/_forms/_process_department_xsp.java:381:
Undefined variable: name (name))); ^ Line 0, column 0:
         
/usr/local/java/jakarta-tomcat-4.0-b1/work/localhost/cocoon/_usr/_local/_java/_jakarta_tomcat_4_0_b1/_webapps/_cocoon/_docs/_samples/_forms/_process_department_xsp.java:510:
Undefined variable: name XSPObjectHelper.xspExpr(contentHandler, name);
^ 
 details
 from
 source
          org.apache.cocoon.ProcessingException
 description
          org.apache.cocoon.ProcessingException: Error compiling
_process_department_xsp: Line 0, column 0:
/usr/local/java/jakarta-tomcat-4.0-b1/work/localhost/cocoon/_usr/_local/_java/_jakarta_tomcat_4_0_b1/_webapps/_cocoon/_docs/_samples/_forms/_process_department_xsp.java:139:
Undefined
          variable: process process = ^ Line 0, column 0:
/usr/local/java/jakarta-tomcat-4.0-b1/work/localhost/cocoon/_usr/_local/_java/_jakarta_tomcat_4_0_b1/_webapps/_cocoon/_docs/_samples/_forms/_process_department_xsp.java:141:
Undefined variable: name name = ^ Line 0, column 0:
         
/usr/local/java/jakarta-tomcat-4.0-b1/work/localhost/cocoon/_usr/_local/_java/_jakarta_tomcat_4_0_b1/_webapps/_cocoon/_docs/_samples/_forms/_process_department_xsp.java:161:
Undefined variable: process XSPObjectHelper.xspExpr(contentHandler,
process); ^ Line 0, column 0:
         
/usr/local/java/jakarta-tomcat-4.0-b1/work/localhost/cocoon/_usr/_local/_java/_jakarta_tomcat_4_0_b1/_webapps/_cocoon/_docs/_samples/_forms/_process_department_xsp.java:299:
Undefined variable: currId currId = ^ Line 0, column 0:
         
/usr/local/java/jakarta-tomcat-4.0-b1/work/localhost/cocoon/_usr/_local/_java/_jakarta_tomcat_4_0_b1/_webapps/_cocoon/_docs/_samples/_forms/_process_department_xsp.java:370:
Undefined variable: currId (currId))); ^ Line 0, column 0:
         
/usr/local/java/jakarta-tomcat-4.0-b1/work/localhost/cocoon/_usr/_local/_java/_jakarta_tomcat_4_0_b1/_webapps/_cocoon/_docs/_samples/_forms/_process_department_xsp.java:381:
Undefined variable: name (name))); ^ Line 0, column 0:
         
/usr/local/java/jakarta-tomcat-4.0-b1/work/localhost/cocoon/_usr/_local/_java/_jakarta_tomcat_4_0_b1/_webapps/_cocoon/_docs/_samples/_forms/_process_department_xsp.java:510:
Undefined variable: name XSPObjectHelper.xspExpr(contentHandler, name);
^ 
 extra info
          org.apache.cocoon.ProcessingException: Error compiling
_process_department_xsp:
          Line 0, column 0:
/usr/local/java/jakarta-tomcat-4.0-b1/work/localhost/cocoon/_usr/_local/_java/_jakarta_tomcat_4_0_b1/_webapps/_cocoon/_docs/_samples/_forms/_process_department_xsp.java:139:
Undefined variable: process
              process =
              ^
          Line 0, column 0:
/usr/local/java/jakarta-tomcat-4.0-b1/work/localhost/cocoon/_usr/_local/_java/_jakarta_tomcat_4_0_b1/_webapps/_cocoon/_docs/_samples/_forms/_process_department_xsp.java:141:
Undefined variable: name
              name =
              ^
          Line 0, column 0:
/usr/local/java/jakarta-tomcat-4.0-b1/work/localhost/cocoon/_usr/_local/_java/_jakarta_tomcat_4_0_b1/_webapps/_cocoon/_docs/_samples/_forms/_process_department_xsp.java:161:
Undefined variable: process
              XSPObjectHelper.xspExpr(contentHandler, process);
                                                      ^
          Line 0, column 0:
/usr/local/java/jakarta-tomcat-4.0-b1/work/localhost/cocoon/_usr/_local/_java/_jakarta_tomcat_4_0_b1/_webapps/_cocoon/_docs/_samples/_forms/_process_department_xsp.java:299:
Undefined variable: currId
                      currId =
                      ^
          Line 0, column 0:
/usr/local/java/jakarta-tomcat-4.0-b1/work/localhost/cocoon/_usr/_local/_java/_jakarta_tomcat_4_0_b1/_webapps/_cocoon/_docs/_samples/_forms/_process_department_xsp.java:370:
Undefined variable: currId
                                              (currId)));
                                               ^
          Line 0, column 0:
/usr/local/java/jakarta-tomcat-4.0-b1/work/localhost/cocoon/_usr/_local/_java/_jakarta_tomcat_4_0_b1/_webapps/_cocoon/_docs/_samples/_forms/_process_department_xsp.java:381:
Undefined variable: name
                                              (name)));
                                               ^
          Line 0, column 0:
/usr/local/java/jakarta-tomcat-4.0-b1/work/localhost/cocoon/_usr/_local/_java/_jakarta_tomcat_4_0_b1/_webapps/_cocoon/_docs/_samples/_forms/_process_department_xsp.java:510:
Undefined variable: name
              XSPObjectHelper.xspExpr(contentHandler, name);
                                                      ^

                  at
org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenerator.java:133)
                  at
org.apache.cocoon.sitemap.ResourcePipeline.process(ResourcePipeline.java:201)
                  at
_usr._local._java._jakarta_tomcat_4_0_b1._webapps._cocoon._sitemap_xmap.process(_sitemap_xmap.java:2140)
                  at
org.apache.cocoon.sitemap.Handler.process(Handler.java:148)
                  at
org.apache.cocoon.sitemap.Manager.invoke(Manager.java:99)
                  at org.apache.cocoon.Cocoon.process(Cocoon.java:247)
                  at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:353)
                  at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                  at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
                  at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:251)
                  at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
                  at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:196)
                  at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
                  at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2041)
                  at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
                  at
org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
                  at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:414)
                  at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975)
                  at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:159)
                  at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
                  at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:818)
                  at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:897)
                  at java.lang.Thread.run(Thread.java:484)

-- 
Simeon Walker,                      email: simeon@sbs.bangor.ac.uk
School of Biological Sciences,      phone: +44 (0)1248 383702
University of Wales, Bangor,        fax: +44 (0)1248 382569
Gwynedd, LL57 2UW, UK.              www: http://biology.bangor.ac.uk/

Mime
View raw message