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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
