cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Morrison, John" <John.Morri...@uk.experian.com>
Subject RE: [C2] Custom Logicsheets
Date Fri, 06 Jul 2001 12:48:44 GMT
Thanks,

cocoon.log reports

org.apache.cocoon.components.language.LanguageException: Error compiling
theft_xml:
Line 163, column 64:  ';' expected.
Line 167, column 39:  ';' expected.
Line 171, column 43:  ';' expected.
	at
org.apache.cocoon.components.language.programming.java.JavaLanguage.compile(
JavaLanguage.java:204)

I've attached the logicsheet the xsp file and the java.  Any pointers will
be helpful.

Thanks,

J.

> -----Original Message-----
> From: Christian Haul [mailto:haul@dvs1.informatik.tu-darmstadt.de]
> Sent: Friday, 06 July 2001 10:23
> To: cocoon-dev@xml.apache.org
> Subject: Re: [C2] Custom Logicsheets
> 
> 
> On 06.Jul.2001 -- 09:03 AM, Morrison, John wrote:
> > Berin,
> > 
> > I've got a logicsheet in and working - at least adding it's 
> functions to the
> > java output.  However (there's always a however in these 
> things... ;) when I
> > apply _my_ logicsheet and esql the Java output'd by my 
> sheet fails to
> > compile.  Do you (or anybody else) have an example of a 
> logicsheet which
> > puts some functions outside of the content and still works 
> after esql has
> > been applied?
> > 
> > My logicsheet looks (something) like this...
> 
> John, it really would help if you'd provide us with a minimal working
> example that exhibits the problem together with as much error messages
> as possible. Well, probably only the excerpt from cocoon.log that is
> related to this particular URI. The easiest way to figure out is to
> request the page only as third page (or three times), go to the end of
> the file and copy everything from the end to the next "Processed by
> Apache Cocoon 2.1-dev in XXXX milliseconds." Looking for "seconds"
> usually does it.
> 
> The example posted exhibits a couple of problems you're probably aware
> and have slipped in by reducing it, like there's an extra "}" in your
> method and the "copy-all" template is missing.

Yes, I spotted the } after posting, and I assume you mean the target
match="@*|*|text()|processing-instruction()" as copy-all?

I've posted everything (I think ;) this time!

> 	Chris.
> 
> -- 
> C h r i s t i a n       H a u l
> haul@informatik.tu-darmstadt.de
>     fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 



=======================================================================
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission.  There is no intention to
create any legally binding contract or other commitment through the use
of this email.

Experian Limited (registration number 653331).  
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF

Mime
View raw message