Re: error:use Xalan in incremental processing mode

2003-01-23 Thread Cyril Vidal
It's working much better!
Thanks Christian for your attention!!

Cyril.
- Original Message -
From: "Christian Haul" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 23, 2003 8:03 PM
Subject: Re: error:use Xalan in incremental processing mode


> On 23.Jan.2003 -- 07:08 PM, Cyril Vidal wrote:
> > In the console, I've got the following:
> > Errors in XSLT Transformation:
> > Warning: File
> >
jar:file:/C:/tomcat/webapps/cocoon/WEB-INF/lib/Cocoon-2.0.4.jar/org/apache/c
> > ocoon/components/language/markup/sitemap/java/sitemap.xsl;
> > Line1817; Column34; Sitemap pipeline must have at least one of:
> > map:generate, map: aggregate, map:read, map:mount, map:redirect-to,
map:call
>
> Yep. I thought it was wrong copy&past. You write  but you
need to
> write  See, you have omitted crucial information like the
message
> above ;-)
>
> HTH
> Chris.
> --
> C h r i s t i a n   H a u l
> [EMAIL PROTECTED]
> fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>


-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

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




Re: error:use Xalan in incremental processing mode

2003-01-23 Thread Christian Haul
On 23.Jan.2003 -- 07:08 PM, Cyril Vidal wrote:
> In the console, I've got the following:
> Errors in XSLT Transformation:
> Warning: File
> jar:file:/C:/tomcat/webapps/cocoon/WEB-INF/lib/Cocoon-2.0.4.jar/org/apache/c
> ocoon/components/language/markup/sitemap/java/sitemap.xsl;
> Line1817; Column34; Sitemap pipeline must have at least one of:
> map:generate, map: aggregate, map:read, map:mount, map:redirect-to, map:call

Yep. I thought it was wrong copy&past. You write  but you need to
write  See, you have omitted crucial information like the message
above ;-)

HTH
Chris.
-- 
C h r i s t i a n   H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: error:use Xalan in incremental processing mode

2003-01-23 Thread Cyril Vidal
For simplicity, I'm using Cocoon's mount directory.
I've created inside directory tuto with the sitemap.xmap I've sent to you,
particpants.xml and participants.xsl
and I call http://localhost:8080/cocoon/mount/tuto/
(so Tomcat/webapps/cocoon/mount/tuto with inside sitemap.xmap,
participants.xml and participants.xsl)
For me, it should be OK.

In the console, I've got the following:
Errors in XSLT Transformation:
Warning: File
jar:file:/C:/tomcat/webapps/cocoon/WEB-INF/lib/Cocoon-2.0.4.jar/org/apache/c
ocoon/components/language/markup/sitemap/java/sitemap.xsl;
Line1817; Column34; Sitemap pipeline must have at least one of:
map:generate, map: aggregate, map:read, map:mount, map:redirect-to, map:call
Fatal: Achèvement dirigé de la feuille de style

Maybe it can help,
Thanks for your help,
Cyril.

- Original Message -
From: "Christian Haul" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 23, 2003 6:45 PM
Subject: Re: error:use Xalan in incremental processing mode


> On 23.Jan.2003 -- 06:38 PM, Cyril Vidal wrote:
> > Hi Chrisitian
> >
> > Thanks for your answer.
> >
> > My default generator was the 'file' one.
>
> that does not make sense (at least to me):
>
> > 
>
> but
>
> > org.apache.cocoon.ProcessingException: Failed to generate program code
(this
>=
> >
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat
>   
>
> You are *sure*? Have you tried to restart your container? Are you sure
> that it is definately *your* sitemap?
>
> Chris.
> --
> C h r i s t i a n   H a u l
> [EMAIL PROTECTED]
> fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>


-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

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




Re: error:use Xalan in incremental processing mode

2003-01-23 Thread Christian Haul
On 23.Jan.2003 -- 06:38 PM, Cyril Vidal wrote:
> Hi Chrisitian
> 
> Thanks for your answer.
> 
> My default generator was the 'file' one.

that does not make sense (at least to me):

> 

but

> org.apache.cocoon.ProcessingException: Failed to generate program code (this
   =
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat
  

You are *sure*? Have you tried to restart your container? Are you sure
that it is definately *your* sitemap?

Chris.
-- 
C h r i s t i a n   H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: error:use Xalan in incremental processing mode

2003-01-23 Thread Cyril Vidal
Hi Chrisitian

Thanks for your answer.

My default generator was the 'file' one.





http://apache.org/cocoon/sitemap/1.0";>















































and the complete error message (no more informations in log) is the
following:
stack-trace

org.apache.cocoon.ProcessingException: Failed to generate program code (this
may happen if you use Xalan in incremental processing mode). Please check
log file and/or console for errors.
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat
eResource(ProgramGeneratorImpl.java:395)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR
esource(ProgramGeneratorImpl.java:353)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java:312)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:267)
at java.lang.Thread.run(Thread.java:536)and my stylesheet is as below
(nothing special except perhaps use of xsl:key?):http://www.w3.org/1999/XSL/Transform";>PARTICIPANTSTrier par : titrenomprénomorganismepaysNomPrénom
OrganismeAdresseTél/fax/emailPaysTél : Fax :
c:/images/.gifEmail : mailto:
Cyril.- Original Message -
From: "Christian Haul" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 23, 2003 6:17 PM
Subject: Re: error:use Xalan in incremental processing mode


> On 23.Jan.2003 -- 06:02 PM, Cyril Vidal wrote:
> > Hi,
> >
> > I'm sorry if this question has already been asked before. I've checked
out
> > in the archives, but these seem to be  available for the moment...
> > I'm under Windows 2000, j2sdk1.4.1, and Cocoon 2.0.4
> > I just would like to perform an XSLT transformation. In this aim, I use
the
> > very simple sitemap.xmap (snippet):
> >
> > 
> >
> > 
> >
> > 
> >
> > 
> >
> > 
> >
> >
> > But, infortunately, I receive the following error message:
> > message Failed to generate program code (this may happen if you use
Xalan in
> > incremental processing mode). Please check log file and/or console for
> > errors.
> >
> > description org.apache.cocoon.ProcessingException: Failed to generate
> > program code (this may happen if you use Xalan in incremental processing
> > mode). Please check log file and/or console for errors
>
> not enough information. include a larger portion of the logs.
>
> perhaps you have the serverpages generator as default? Try
>   
>
> Chris.
> --
> C h r i s t i a n   H a u l
> [EMAIL PROTECTED]
> fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>


-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

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




Re: error:use Xalan in incremental processing mode

2003-01-23 Thread Christian Haul
On 23.Jan.2003 -- 06:02 PM, Cyril Vidal wrote:
> Hi,
> 
> I'm sorry if this question has already been asked before. I've checked out
> in the archives, but these seem to be  available for the moment...
> I'm under Windows 2000, j2sdk1.4.1, and Cocoon 2.0.4
> I just would like to perform an XSLT transformation. In this aim, I use the
> very simple sitemap.xmap (snippet):
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> But, infortunately, I receive the following error message:
> message Failed to generate program code (this may happen if you use Xalan in
> incremental processing mode). Please check log file and/or console for
> errors.
> 
> description org.apache.cocoon.ProcessingException: Failed to generate
> program code (this may happen if you use Xalan in incremental processing
> mode). Please check log file and/or console for errors

not enough information. include a larger portion of the logs.

perhaps you have the serverpages generator as default? Try 
  

Chris.
-- 
C h r i s t i a n   H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




error:use Xalan in incremental processing mode

2003-01-23 Thread Cyril Vidal
Hi,

I'm sorry if this question has already been asked before. I've checked out
in the archives, but these seem to be  available for the moment...
I'm under Windows 2000, j2sdk1.4.1, and Cocoon 2.0.4
I just would like to perform an XSLT transformation. In this aim, I use the
very simple sitemap.xmap (snippet):












But, infortunately, I receive the following error message:
message Failed to generate program code (this may happen if you use Xalan in
incremental processing mode). Please check log file and/or console for
errors.

description org.apache.cocoon.ProcessingException: Failed to generate
program code (this may happen if you use Xalan in incremental processing
mode). Please check log file and/or console for errors



1))I' ve checked the log file and this gives exactly the same informations
as above.

2°)I've ran this transformation via command line,
(java.org.apache.xalan.xslt.Process -IN participants.xml -XSL
particpants.xsl -OUT participants.html) and it was successfull.



So, what I have to do to fix he problem, if possible?



Thanks in advance for your responses,

Cyril.




-
Please check that your question  has not already been answered in the
FAQ before posting. 

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