cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathaniel Alfred" <Alfred.Nathan...@swx.com>
Subject RE: logicsheet used by XSP results in compilation errors
Date Tue, 17 May 2005 16:20:19 GMT
Could be http://issues.apache.org/bugzilla/show_bug.cgi?id=32934
(which is not yet in the code base but I'll see to it that it goes into 2.1.8.)

-----Original Message-----
From: Amy Drew [mailto:Amy.Drew@noaa.gov]
Sent: Montag, 16. Mai 2005 20:51
To: users@cocoon.apache.org
Subject: logicsheet used by XSP results in compilation errors



I'm having an intermittent problem with a logicsheet used by XSPs.   
Occasionally, the
generated servlets result in code that won't compile.   I've searched 
the mail archives
and found a thread that describes my problem exactly.  See

http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=106875649724599&w=2

<clipped_from_above>
We make heavy use of logicsheets, and our logicsheets use other 
logicsheets, and so
forth so that there is often quite a long chain of logicsheets that must 
be applied to generate
 our source, and I'm sure that contributes to the problem. However, the 
intermittent nature of the
problem leads me to believe that it is a "bug" or at least shortcoming 
in the XSP generation code.
A typical symptom of the problem is that some page will not compile, and 
when we go to
look at the source code, the source has not transformed tags for one or 
more
logicsheets (often ESQL).  Instead, java code is generated that attempts 
to output the logicsheet
tags. So, for instance, if you have code like:

      if (<esql:get-int column="id"/> == -1) { .... }
it turns into:
      if (
            this.contentHandler.startElement(
                  "",
                  "esql:get-int",
                  "esql:get-int",
                  xspAttr
            );
            ...
      )
or something like that, and you can see why it wouldn't compile!
</clipped_from_above>


I've seen this problem with  Cocoon 2.1.5 and 2.1.7.  Any ideas?

Regards,
Amy

-- 
Amy Drew
Computer Sciences Corporation
301.763.8597 x118



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
 
 
This message is for the named person's use only. It may contain confidential, proprietary
or legally privileged information. No confidentiality or privilege is waived or lost by any
mistransmission. If you receive this message in error, please notify the sender urgently and
then immediately delete the message and any copies of it from your system. Please also immediately
destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail communications through their
networks. Any views expressed in this message are those of the individual sender, except where
the message states otherwise and the sender is authorised to state them to be the views of
the sender's company.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message