FW: Bug in code formatter?

2001-11-12 Thread Michael Homeijer

Hi,

Can anybody tell me I am wrong?

TIA,
Michael Homeijer 

-Original Message-
From: Michael Homeijer
To: '[EMAIL PROTECTED]'
Sent: 12-11-2001 2:55 
Subject: Bug in code formatter?

Just spent one hour on a typo :-(
The problem was on ) to many in a logicsheet. This resulted in a problem
in
JStyleformatter.java, ie. a nullpointerexception in the exception
handling
code.

Am I right that either in getCodeFormatter in
AbstractProgrammingLanguage.java or in ProgramGeneratorImpl something
like the following line should be:
codeFormatter.setLogger(this.getLogger())?


-
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: generateValidity

2001-11-12 Thread Michael Homeijer

I've looked at the link and I am sure I am missing the point, but...
how do I get the delta time (one hour) into this.

TIA,
Michael

-Original Message-
From: Mitchell A. Cohen
To: [EMAIL PROTECTED]
Sent: 12-11-2001 6:24 
Subject: RE: generateValidity

Follow the instructions at the link below.

http://www2.real-time.com/pipermail/cocoon-users/2001-September/019364.h
tml

-Original Message-
From: Michael Homeijer [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 12, 2001 12:14 PM
To: '[EMAIL PROTECTED]'
Subject: generateValidity


Hi,

I have an XSP page that I want to have cached for an hour. I cannot find
much info on how to accomplish this with the generateValidity method in
an
XSP page.

TIA,
Michael Homeijer


-
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]>




Configuration for virtual hosts using Apache 1.3.x, Tomcat 4 and Cocoon 2

2001-11-12 Thread Robert J. Lebowitz

I've been experimenting with mod_app but haven't had much luck getting the
virtual host thing to work.  I'm storing my web apps outside the tomcat
webapps directory for both domains.

I'm running Apache 1.3.x, and want to be able to transparently redirect any
requests to http://myhost1.com/ and http://myhost2.com/ to port 8080
(actually, the default in the latest release is 8180 in spite of what the
literature says) for each host respectively.

I'd like to see examples for modifications to httpd.conf, server.xml and any
of the cocoon 2 configuration files to achieve this.  Can anyone help out
here??

Rob


-
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: Site to add...

2001-11-12 Thread BeardedDragon.org

Oh yeah...  You can post me publicly on the Cocoon page, if you would
like.  :)

-Alex

On Mon, 12 Nov 2001 16:47:02 -0800, BeardedDragon.org wrote:

> Hey all...
> 
> The link on the Cocoon site listed this as the email address to send this
> to.
> 
> This isn't the CLEANEST use of Cocoon2, but I've had it up and running for
> a while now.  When I say it's not clean, I mean the back-end.  I really
> need to find the time to trim down the sitemap to BARE essentials.  :) 
> Right now, I just removed most of the sample stuff, etc.  This was my
> first playing with Cocoon at all... dunno if I did things the "best" way
> behind the scenes, but it really helped make it easier to add stuff to my
> site and give it a bit more of a professional look.
> 
> Anyway... Whomever this needs to get addressed to... here's the URL:
> 
> http://robocode.diverman.com/
> 
> Cheers,
> -Alex
> 
> [EMAIL PROTECTED]
> http://robocode.diverman.com/
> 
> ==
>   Email:  [EMAIL PROTECTED]
>   Website:  http://www.beardeddragon.org/
> ==
> 
> 
> 
> -
> 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]>
> 


==
  Email:  [EMAIL PROTECTED]
  Website:  http://www.beardeddragon.org/
==



-
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]>




Site to add...

2001-11-12 Thread BeardedDragon.org

Hey all...

The link on the Cocoon site listed this as the email address to send this
to.

This isn't the CLEANEST use of Cocoon2, but I've had it up and running for
a while now.  When I say it's not clean, I mean the back-end.  I really
need to find the time to trim down the sitemap to BARE essentials.  :) 
Right now, I just removed most of the sample stuff, etc.  This was my
first playing with Cocoon at all... dunno if I did things the "best" way
behind the scenes, but it really helped make it easier to add stuff to my
site and give it a bit more of a professional look.

Anyway... Whomever this needs to get addressed to... here's the URL:

http://robocode.diverman.com/

Cheers,
-Alex

[EMAIL PROTECTED]
http://robocode.diverman.com/

==
  Email:  [EMAIL PROTECTED]
  Website:  http://www.beardeddragon.org/
==



-
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: How get Cocoon 1.8.1 with Tomcat 4.0.1 working?

2001-11-12 Thread Brian Blakeley

Hi Jan,

I posted this a while back shortly after I got things going.  Hope it helps.

I think what I did to get past where it sounds like you are was to locate
the various resource files at the end of cocoon.properties and amended
cocoon.properties to point to the various files ( i.e. util.xsl, etc.).

I found the files in $COCOON_HOME/build/src/ 

Once I did that ( with cocoon.jar in the
$TOMCAT_HOME/webapps/cocoon/WEB-INF/lib with the others) I could get
Cocoon.xml and the samples to operate.

Hope this helps.

Brian

- Original Message -
From: "Jan Lange" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 12, 2001 7:57 PM
Subject: How get Cocoon 1.8.1 with Tomcat 4.0.1 working?


> Hello all,
>
> I have installed Tomcat 4.0.1
> and Cocoon 1.8.2. I have done it
> with the manuals for Tomcat 3.x for
> Cocoon installing.
>
> But it won't work.
>
> When I type in http://www.artada.de/Cocoon.xml
> then I became the following error:
>
> Publishing Engine could not be initialized.
>
> java.lang.RuntimeException: Error loading logicsheet at
> resource://org/apache/cocoon/processor/xsp/library/java/util.xsl due to
> java.lang.Exception: Resource not found or retrieving error.
> at
> org.apache.cocoon.processor.xsp.XSPProcessor.init(XSPProcessor.java:302)
>
> I use the same config for Cocoon that I have used on
> Tomcat 3.2.1 (where it works very fine!!)
>
> I don't found any manuals to Install Cocoon 1.8.2
> on Tomcat 4.0.1. So I have no idea what I have
> to do, so it work on it.
>
> Can anybody help me?
> Or give me a URL to a manual for do this??
>
> Thanks!
> Jan Lange
>
>
> -
> 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]>
>


-
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]>




How get Cocoon 1.8.1 with Tomcat 4.0.1 working?

2001-11-12 Thread Jan Lange

Hello all,

I have installed Tomcat 4.0.1
and Cocoon 1.8.2. I have done it
with the manuals for Tomcat 3.x for
Cocoon installing.

But it won't work.

When I type in http://www.artada.de/Cocoon.xml
then I became the following error:

Publishing Engine could not be initialized.

java.lang.RuntimeException: Error loading logicsheet at
resource://org/apache/cocoon/processor/xsp/library/java/util.xsl due to
java.lang.Exception: Resource not found or retrieving error.
at
org.apache.cocoon.processor.xsp.XSPProcessor.init(XSPProcessor.java:302)

I use the same config for Cocoon that I have used on
Tomcat 3.2.1 (where it works very fine!!)

I don't found any manuals to Install Cocoon 1.8.2
on Tomcat 4.0.1. So I have no idea what I have
to do, so it work on it.

Can anybody help me?
Or give me a URL to a manual for do this??

Thanks!
Jan Lange


-
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]>




how to shut off database?

2001-11-12 Thread Doug

First, I am running Tomcat 4.01, Cocoon 2 0cr1 on a Windows 98 machine. I
can get the cocoon default pages OK, and my development web page when I copy
it to the Cocoon Webapps directory.

Whenever I start it, I get the following message:
*
Server.run/init: java.sql.SQLException: File input/output error:
C:\java\Apache
Tomcat 4.0\webapps\cocoon\WEB-INF\db\cocoondb.backup
java.sql.SQLException: File input/output error: C:\java\Apache Tomcat
4.0\webapp
s\cocoon\WEB-INF\db\cocoondb.backup
at org.hsqldb.Trace.getError(Trace.java:180)
at org.hsqldb.Trace.getError(Trace.java:144)
at org.hsqldb.Trace.error(Trace.java:205)
at org.hsqldb.Log.restoreBackup(Log.java:731)
at org.hsqldb.Log.open(Log.java:212)
at org.hsqldb.Database.(Database.java:96)
at org.hsqldb.Server.run(Server.java:137)
at org.hsqldb.Server.main(Server.java:78)
at
org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java:10
2)
at java.lang.Thread.run(Thread.java:484)
Starting service Tomcat-Apache
Apache Tomcat/4.0.1
*
I believe that is because Cocoon is trying to load a database driver which I
do not have. When I installed Cocoon, I followed the instructions not for
the database (ie. " .\build.bat -Dinclude.webapp.libs=yes webapp") What do I
have to remove? I'm afraid of killing Cocoon if I play around...





-
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]>




How get Cocoon 1.8.1 with Tomcat 4.0.1 working?

2001-11-12 Thread Jan Lange

Hello all,

I have installed Tomcat 4.0.1
and Cocoon 1.8.2. I have done it
with the manuals for Tomcat 3.x for
Cocoon installing.

But it won't work.

When I type in http://www.artada.de/Cocoon.xml
then I became the following error:

Publishing Engine could not be initialized.

java.lang.RuntimeException: Error loading logicsheet at
resource://org/apache/cocoon/processor/xsp/library/java/util.xsl due to
java.lang.Exception: Resource not found or retrieving error.
at
org.apache.cocoon.processor.xsp.XSPProcessor.init(XSPProcessor.java:302)

I use the same config for Cocoon that I have used on
Tomcat 3.2.1 (where it works very fine!!)

I don't found any manuals to Install Cocoon 1.8.2
on Tomcat 4.0.1. So I have no idea what I have
to do, so it work on it.

Can anybody help me?
Or give me a URL to a manual for do this??

Thanks!
Jan Lange


-
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: C2 uses 1.0 or 1.1 of XSLT spec?

2001-11-12 Thread Jörg Heinicke

Xalan (the Transformer in Cocoon 2) uses the XSLT spec 1.0. But this doesn't
matter for your problem. You don't need the nodeset()-function. With your
variables you always get nodesets. The nodeset()-function is for
transforming ResultTreeFragments to nodesets.

Now your problem: The problem is your code. In $myemp you store the
scheduledates of the employee with id='43'. But the second variable $myemp1
selects only these nodes, where the value of the current node (scheduledate)
is not the same like the value of the node named 'preceding' and child of
scheduledate. I think all your scheduledates will fulfill this condition.
What you obviously want, is something like the following:




Or better/faster, because not so much nodes must be tested:













In my eyes the best method is using keys:
















For more information on this grouping by keys (Muenchian Method), look at
Jeni Tennison's site:
http://www.jenitennison.com/xslt/grouping/muenchian.xml.

Regards,

Joerg

- Original Message -
From: "Mark S. Kent" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 13, 2001 12:28 AM
Subject: C2 uses 1.0 or 1.1 of XSLT spec?


> Does anyone have examples of the Xalan nodeset() function?  I am having
some
> trouble.  Does Cocoon2 use the 1.0 or 1.1 (a?) specification of XSLT?
>
> What I want to do is:
> 1. Select nodes from my XML tree
> 2. Create a variable of the unique dates within the selected nodes
>
> XML data looks like this:
> 
>   
> 70
> Smith
> Susan
> Training
> 275
> 06-11-2001
> 180
>   
>   
> 70
> Smith
> Susan
> Training
> 276
> 06-11-2001
> 480
>   
>   
> 70
> Smith
> Susan
> Training
> 277
> 06-12-2001
> 240
>   
> 
> XSL file looks like:
> 
>
>  version="1.0"
> xmlns:xalan="http://xml.apache.org/xalan";
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
>
> 
>
>  select="//schedule[employeeid='43']/scheduledate"/>
>
> 
>
>  
> 
> 
> 
>
> 
>
> "myemp" should be a nodeset of all schedules for employee "43".  When I
try:
> 
> it looks at ALL of the nodes in my XML (I think) rather than just the
> sub-set I've chosen.  Do I need to explicitly make a nodeset out of the
> "myemp" selection?
>
> Mark



-
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]>




Fw: how to shut off database?

2001-11-12 Thread Doug

 First, I am running Tomcat 4.01, Cocoon 2 0cr1 on a Windows 98 machine. I
 can get the cocoon default pages OK, and my development web page when I
copy
 it to the Cocoon Webapps directory.

 Whenever I start it, I get the following message:
 *
 Server.run/init: java.sql.SQLException: File input/output error:
 C:\java\Apache
 Tomcat 4.0\webapps\cocoon\WEB-INF\db\cocoondb.backup
 java.sql.SQLException: File input/output error: C:\java\Apache Tomcat
 4.0\webapp
 s\cocoon\WEB-INF\db\cocoondb.backup
 at org.hsqldb.Trace.getError(Trace.java:180)
 at org.hsqldb.Trace.getError(Trace.java:144)
 at org.hsqldb.Trace.error(Trace.java:205)
 at org.hsqldb.Log.restoreBackup(Log.java:731)
 at org.hsqldb.Log.open(Log.java:212)
 at org.hsqldb.Database.(Database.java:96)
 at org.hsqldb.Server.run(Server.java:137)
 at org.hsqldb.Server.main(Server.java:78)
 at
 org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java:10
 2)
 at java.lang.Thread.run(Thread.java:484)
 Starting service Tomcat-Apache
 Apache Tomcat/4.0.1
 *
 I believe that is because Cocoon is trying to load a database driver which
I
 do not have. When I installed Cocoon, I followed the instructions not for
 the database (ie. " .\build.bat -Dinclude.webapp.libs=yes webapp") What do
I
 have to remove? I'm afraid of killing Cocoon if I play around...




-
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]>




Cocoon2 error: Could not set up Component for hint:

2001-11-12 Thread Doug

First, I am running Tomcat 4.01, Cocoon 2 0cr1 on a Windows 98 machine. I
can get the cocoon default pages OK, and my development web page when I copy
it to the Cocoon Webapps directory, I get the following error message:

type internal-server-error
message Exception in Handler
description org.apache.cocoon.ProcessingException: Exception in Handler:
org.apache.avalon.framework.component.ComponentException: Could not set up
Component for hint:
org\apache\cocoon\www\file_\D_\web_applications\work\ut\sitemap_xmap
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet

What is causing this error message? I ahve a copy of "sitemap.xmap" in
"D:\web applications\work\ut\" so I do not understand the message.

I could not find anything about this in the Cocoon 2 documentation.


-
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]>




RES: Strange password error

2001-11-12 Thread Gustavo Nalle Fernandes

That´s it ! Thanks...

-Mensagem original-
De: Jörg Heinicke [mailto:[EMAIL PROTECTED]]
Enviada em: segunda-feira, 12 de novembro de 2001 21:21
Para: [EMAIL PROTECTED]
Assunto: Re: Strange password error


Do you have a & in your connection-URL? For example &S: ? That's the error.
You have to write & as & .

Regards,

Joerg

- Original Message -
From: "Gustavo Nalle Fernandes" <[EMAIL PROTECTED]>
To: "Cocoon-Users" <[EMAIL PROTECTED]>
Sent: Tuesday, November 13, 2001 2:18 AM
Subject: Strange password error


>
> Hi,
> I have a database connection to a SQL Server set at cocoon.xconf.This
> conection has a password that ends in "S:"
> I receive the following error:
>
> ERROR   (2001-11-12) 23:06.14:540   [cocoon  ] (Unknown-URI)
> Unknown-thread/Cocoon: Could not configure Cocoon environment
> org.xml.sax.SAXParseException: The reference to entity "S:" must end with
> the ';' delimiter.
>
> When using another password,everything goes allright.Anyone has some clues
?



-
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]>



-
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: Strange password error

2001-11-12 Thread Jörg Heinicke

Do you have a & in your connection-URL? For example &S: ? That's the error.
You have to write & as & .

Regards,

Joerg

- Original Message -
From: "Gustavo Nalle Fernandes" <[EMAIL PROTECTED]>
To: "Cocoon-Users" <[EMAIL PROTECTED]>
Sent: Tuesday, November 13, 2001 2:18 AM
Subject: Strange password error


>
> Hi,
> I have a database connection to a SQL Server set at cocoon.xconf.This
> conection has a password that ends in "S:"
> I receive the following error:
>
> ERROR   (2001-11-12) 23:06.14:540   [cocoon  ] (Unknown-URI)
> Unknown-thread/Cocoon: Could not configure Cocoon environment
> org.xml.sax.SAXParseException: The reference to entity "S:" must end with
> the ';' delimiter.
>
> When using another password,everything goes allright.Anyone has some clues
?



-
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: Cocoon2:XSP->Excel?

2001-11-12 Thread Marcelo F. Ochoa

Skladov, Victor wrote:

>Hi, people!
>
>Does anydody have expirience in creating EXCEL-Tables with XSP?
>What must I do to get a true EXCEL Table from a XSP and XSL?
>
>Thanks in advance
>Viktor
>
  To returns Excel files from Cocoon 2 there is a simple trick:
  If you returns from your XSP an XML like this:




Velasquez
President
2500


Ngao
VP, Operations
1450


Nagayama
VP, Sales
1400 

..


 And transform it with an stylesheet like this:


http://www.w3.org/1999/XSL/Transform";>
  
   

   Emp NumberNameJobSal
   
  
  




  
   

   
  


  and finally adding this definitions into sitemap.xmap

   
iso-8859-1
   

   



   

  and that's all.
  You could see this demo on-line at:
http://cocodrilo.exa.unicen.edu.ar:/dbprism/xmlj/DEMOj.excel
  Best regards, Marcelo.

-- 
Marcelo F. Ochoa - [EMAIL PROTECTED]
Do you Know DB Prism? Look @ http://www.plenix.com/dbprism/
More info?
Chapter 21 of the book "Professional XML Databases" (Wrox Press 
http://www.wrox.com/)
Chapter 8 of the book "Oracle & Open Source" (O'Reilly 
http://www.oreilly.com/catalog/oracleopen/)
---
Lab. de Sistemas - Fac. de Cs. Exactas - UNICEN
Paraje Arroyo Seco - Campus Universitario
(7000) Tandil - Bs. AS. - Argentina
Te: +54-2293-30 Fax: +54-2293-31





-
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]>




Strange password error

2001-11-12 Thread Gustavo Nalle Fernandes


Hi,
I have a database connection to a SQL Server set at cocoon.xconf.This
conection has a password that ends in "S:"
I receive the following error:

ERROR   (2001-11-12) 23:06.14:540   [cocoon  ] (Unknown-URI)
Unknown-thread/Cocoon: Could not configure Cocoon environment
org.xml.sax.SAXParseException: The reference to entity "S:" must end with
the ';' delimiter.

When using another password,everything goes allright.Anyone has some clues ?


-
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]>




C2 uses 1.0 or 1.1 of XSLT spec?

2001-11-12 Thread Mark S. Kent

Does anyone have examples of the Xalan nodeset() function?  I am having some
trouble.  Does Cocoon2 use the 1.0 or 1.1 (a?) specification of XSLT?

What I want to do is:
1. Select nodes from my XML tree
2. Create a variable of the unique dates within the selected nodes

XML data looks like this:

  
70
Smith
Susan
Training
275
06-11-2001
180
  
  
70
Smith
Susan
Training
276
06-11-2001
480
  
  
70
Smith
Susan
Training
277
06-12-2001
240
  

XSL file looks like:


http://xml.apache.org/xalan";
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>


   

   

   
 






"myemp" should be a nodeset of all schedules for employee "43".  When I try:

it looks at ALL of the nodes in my XML (I think) rather than just the
sub-set I've chosen.  Do I need to explicitly make a nodeset out of the
"myemp" selection?

Mark


-
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: a little question

2001-11-12 Thread Drasko Kokic

Hi Brian,

this is exactly what I had to do to make it working
under Tomcat 3.3
It is not really elegant solution, as you have to
maintail the system logicsheets outside the cocoon.jar
!!!
How can we make the "resource" protocol working under
Tomcat 3.3 (crimson+xalan)???

Thanks for your comments
Drasko

--- Brian Blakeley <[EMAIL PROTECTED]> wrote:
> Hi Florent,
> 
> I posted this a while back shortly after I got
> things going.  Hope it helps.
> 
> I think what I did to get past where it sounds like
> you are was to locate
> the various resource files at the end of
> cocoon.properties and amended
> cocoon.properties to point to the various files (
> i.e. util.xsl, etc.).
> 
> I found the files in $COCOON_HOME/build/src/ 
> 
> Once I did that ( with cocoon.jar in the
> $TOMCAT_HOME/webapps/cocoon/WEB-INF/lib with the
> others) I could get
> Cocoon.xml and the samples to operate.
> 
> Hope this helps.
> 
> Brian
> - Original Message -
> From: "florentmom"
> <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, November 12, 2001 10:25 AM
> Subject: a little question
> 
> 
> > i have a problem with cocoon 1.8.2 since some
> days, and i didn't find the
> > solution. when i want launch it, i have this error
> appears in my internet
> > explorer:
> >
> > Publishing Engine could not be initialized.
> > java.lang.RuntimeException: Error loading
> logicsheet at
> >
>
resource://org/apache/cocoon/processor/xsp/library/java/util.xsl
> due to
> > java.lang.Exception: Resource not found or
> retrieving error.
> >
> > do you know a solution,
> > thanks florent
> >
> >
> >
>
-
> > 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]>
> >
> 
> 
>
-
> 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]>
> 


__
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com

-
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: ClassFormatError

2001-11-12 Thread jkim28

Nope,

I'm getting this error because I have a really damn long form described in
xml

example:

  

   
 
   
 
 
   
   
 

After awhile, the sax events pile up and the method is over 65k. I'm hoping
that jdk 1.4 doesn't enforce this limit or I can include XSP in another XSP
some how.

thanks,
j






giacomo <[EMAIL PROTECTED]> on 11/11/2001 06:25:03 AM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:

Subject:  Re: ClassFormatError


On Sat, 10 Nov 2001 [EMAIL PROTECTED] wrote:

> This problem is back in cocoon 2 RC2

Why you think "it is back"? Has it ever been gone?

Giacomo

>
> java.lang.ClassFormatError:
>
org/apache/cocoon/www/file_/C_/tomcat_3_2_3/webapps/nedss/investigation/web/xsp/investigation_xsp

>
> (Code of a method longer than 65535 bytes)
>
>
>
>
> -
> 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]>
>
>
>
>


-
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]>







-
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 starting Apache while trying to get Cocoon to work

2001-11-12 Thread Anthony Diodato

Here is the error Im receiving,

Syntax error on line 13 of
c:/prophet21/apache/jakarta-tomcat-3.2.3/conf/tomcat.conf:
Cannot load c:/prophet21/apache/libexec/mod_jserv.so into server: (126) The
specified module could not be found:

Its is obviously trying to load this mod_jserv.so file, but this file
doesn't exist on my computer anywhere

Any suggestions on how to fix this. Im fairly new to the Apache webserver

Anthony Diodato
Webmaster - IT
Prophet 21, Inc.
19 West College Avenue
Yardley, PA 19067
1-800-776-7438, ext. 4600
Fax: 215-321-8014 
[EMAIL PROTECTED]
http://www.p21.com/
Prophet 21 -- Powering the Distribution Industry for the Digital Age 

For the latest press releases from Prophet 21 --
http://www.p21.com/press/press.html 
*   2/12/2001 - Trading Partner Connect Offers Enterprise-to-Enterprise
(E2E) Commerce 
*   2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available
*   2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim
For the latest articles on Prophet 21
http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupdate.
htm 
http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm 
http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm




Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



-
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: HTML Passthrough

2001-11-12 Thread David Rosenstrauch

At 02:41 PM 11/12/01 +, you wrote:
>Is there anyway that the XSP page can be told to treat the response as XHTML (and 
>build a XML Fragment)?
>
>Thanks for any advice,
>
>Jason Cunningham


Yes.  Someone else had this same problem recently.

Use .  It will parse the text that you pass in to it, and generate 
SAX calls from it (as opposed to writing the text straight to the output - after 
escaping all the control chars - like it's doing now).

1) Include the namespace xmlns:util="http://apache.org/xsp/util/2.0"; in your XSP or 
the  won't get called properly.

2) the call you need to make this work:
your xml goes here

or

String  s = ;
s

s takes the value of String  s, which is then passed in to 
.


DR


-
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]>




HTML Passthrough

2001-11-12 Thread Jason Cunningham

Hi,

First off, sorry for asking this question.  I've seen similar issues raised in the 
newsgroups, but no response seems to fit my circumstances.  I'm sure that this is my 
failure rather than that of the responders, but any help or advise would be very 
gratefully received.

We're using Cocoon2 with JBoss.  We've recently had a new requirement to interface a 
third party application with our solution.  The third party application outputs XHTML. 
 The output is stored on the request object as an attribute.  An XSP page then takes 
it off, and passes it to an XSL page for transformation.  

The problem is that the XSP page treats the response (which is XHTML) as text, 
replacing all < and > symbols with < and > signs.  Therefore, what gets the 
browser is very garbled XHTML.

Is there anyway that the XSP page can be told to treat the response as XHTML (and 
build a XML Fragment)?

Thanks for any advice,

Jason Cunningham

Get a new email account, access to loads of great competitions and great shopping 
deals at CarrotShop!  http://www.bluecarrots.com.

-
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]>




Using Cocoon 2 through another servlet

2001-11-12 Thread Ravi . Narine

To all

Currently I am doing the following:

1. A servlet using parameters from a html form, retrieves database
information in a XML message
2. Passes the xml and a xsl file to the cocoon servlet (v 1.8.2) to
transform the xml to html

I would like to use cocoon 2, but the classes has changed.  Can someone
point me in the right direction on how to do this??

Thanks

Ravi Narine
Senior Analyst
Banking & Investments
Technology and Development
CGI Group Inc.
416-304-7555
[EMAIL PROTECTED]


-
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]>




new Cocoon2 reference site - http://pokojowczyk.com with source code

2001-11-12 Thread Karol Pokojowczyk/POKOJOWCZYK.COM

Hi there ,

you can check out a new Cocoon2 reference site available at
http://pokojowczyk.com

There's a complete source code available to download.
Thanks guys for making it real!

-- 
Best regards,
 Karol  mailto:[EMAIL PROTECTED]



-
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]>




Using Cocoon 2 through another servlet

2001-11-12 Thread Ravi . Narine


To all

Currently I am doing the following:

1. A servlet using parameters from a html form, retrieves database
information in a XML message
2. Passes the xml and a xsl file to the cocoon servlet (v 1.8.2) to
transform the xml to html

I would like to use cocoon 2, but the classes has changed.  Can someone
point me in the right direction on how to do this??

Thanks

Ravi Narine
Senior Analyst
Banking & Investments
Technology and Development
CGI Group Inc.
416-304-7555
[EMAIL PROTECTED]


-
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: Cocoon2, OSX install problem

2001-11-12 Thread terracare

Alex,

Thanks for your suggestions. Using Tomcat 4.0.1 worked!

Diana

> Have you tried Tomcat 4.0 (although I wouldn't think that would make a big
> difference).
> 
> Sorry I couldn't be of more help... but it just worked for me.
> 
> -Alex
> 
> 
> On Sun, 11 Nov 2001 12:13:49 -0500, terracare wrote:
> 
>> I forgot to mention that I also edited the path to tools.jar in build.xml
>> and replaced it with the path to classes.jar. This hasn't worked either...
>> 
>>> I'm trying to install Cocoon2 (downloaded from CVS on 11.9.01) on OS X
>>> (version 10.03) and Tomcat (3.23). I followed installation instructions step
>>> by step. As per OSX-specific issues, I was also careful to edit my ant file,
>>> to set JAVA_HOME statically and add the correct path to classes.jar to the
>>> classpath. I assume I don't have to worry about tools.jar on OSX. I believe
>>> I successfully built the Cocoon.war file (i.e. no complaints from ant), but
>>> when I try to access Cocoon via localhost:8080/cocoon/ I get a
>>> java.lang.ClassNotFoundException: org.apache.cocoon.www.sitemap_xmap.
>>> 
>>> Checking the log directory within WEB-INF revealed no additional useful
>>> information (for me at least). I'm a little confused, because this class
>>> appears to be located in a cocoon directory within $TOMCAT_HOME/work.
>>> 
>>> Any tips are greatly appreciated.
>>> 
>>> Diana
>>> 
>>> 
>>> -
>>> 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]>
>>> 
>> 
>> 
>> -
>> 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]>
>> 
> 
> 
> ==
> Email:  [EMAIL PROTECTED]
> Website:  http://www.beardeddragon.org/
> ==
> 
> 


-
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: generateValidity

2001-11-12 Thread Mitchell A. Cohen

Follow the instructions at the link below.

http://www2.real-time.com/pipermail/cocoon-users/2001-September/019364.html

-Original Message-
From: Michael Homeijer [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 12, 2001 12:14 PM
To: '[EMAIL PROTECTED]'
Subject: generateValidity


Hi,

I have an XSP page that I want to have cached for an hour. I cannot find
much info on how to accomplish this with the generateValidity method in an
XSP page.

TIA,
Michael Homeijer

-
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]>



-
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]>




generateValidity

2001-11-12 Thread Michael Homeijer

Hi,

I have an XSP page that I want to have cached for an hour. I cannot find
much info on how to accomplish this with the generateValidity method in an
XSP page.

TIA,
Michael Homeijer

-
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: XSP->TEX->PDF

2001-11-12 Thread David Rosenstrauch

* re: the excel stuff:  I would suggest that you use the extension .csv instead of 
.xls, since you're not actually generating something in the native Excel .xls format

* re: your TEX document question:  Why do you need the intermediate TEX format, if 
you're eventually going to display it in PDF?  Why not skip TEX and go straight from 
xml/xsl to PDF?


DR


At 04:41 PM 11/12/01 +0100, you wrote:
>Thanks, David!
>
>I have managed it as following:
>I have made the following entries in sitemap:
>
> src="docs/samples/xsp/table.xsp"/>
> 
> 
>
>src="org.apache.cocoon.serialization.HTMLSerializer"/>
>
>and it works!!!
>
>ONE MORE QUESTION:
>How can I tell Cocoon2 to do a few steps, e.g. 
>1)XSP + XSL to a TEX-Document, then 
>2)TEX-Document to PDF file?
>
>
>Regards,
>Viktor
>-Ursprungliche Nachricht-
>Von: David Rosenstrauch [mailto:[EMAIL PROTECTED]]
>Gesendet: Montag, 12. November 2001 15:20
>An: [EMAIL PROTECTED]
>Betreff: Re: Cocoon2:XSP->Excel?
>
>
>One possibility:  you can output the result as .csv (comma delimited)
>format.  Excel can read that.
>
>Just output the result as text, with an extension of .csv, and when you
>write the result, put commas between the columns.
>
>
>DR
>
>
>At 12:06 PM 11/12/01 +0100, you wrote:
> >Hi, people!
> >
> >Does anydody have expirience in creating EXCEL-Tables with XSP?
> >What must I do to get a true EXCEL Table from a XSP and XSL?
> >
> >Thanks in advance
> >Viktor
> >
> >-
> >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]> 
>
>
>-
>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]>
>
>-
>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]> 


-
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: The encoding "Cp1252" is not supported. Xerces/Jaxp problem induces by cocoon, under jboss ?

2001-11-12 Thread Karl Øie

i had the same problem.

the problem is that the tomcat-test.ear file contains xml files with the
Cp1252 encoding, and somehow it doesn't work with xerces, just remove the
tomcat-test.ear file, or repack it with iso8859-1 encoding in the xml files.



-Original Message-
From: Coetmeur, Alain [mailto:[EMAIL PROTECTED]]
Sent: 12. november 2001 16:23
To: '[EMAIL PROTECTED]'
Subject: The encoding "Cp1252" is not supported. Xerces/Jaxp problem
induces by cocoon, under jboss ?
Sensitivity: Private



I've installed cocoon2rc1 on jboss2.4.3+tomcat4.0,
as a .war.

but after the deployment of cocoon,
the following ear cannot be deployed because
the sax parser bump on the message
The encoding "Cp1252" is not supported

my impression is that cocoon.war changes a global setting
about XML, and this prevent jboss to works.

note that, in order to make cocoon2 works, I have (as told here)
changed the XML configuration of jboss...
this is probably the key...

I have installed the xerces 1.4.3 library packaged with cocoon,
to replace the jaxp.jar and crimson.jar

I've removed the
set
JAXP=-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.crimson.jaxp.Docu
mentBuilderFactoryImpl
set JAXP=%JAXP%
-Djavax.xml.parsers.SAXParserFactory=org.apache.crimson.jaxp.SAXParserFactor
yImpl

and even tested by replacing with the explicit
set JAXP=
-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBu
ilderFactoryImpl
set JAXP=%JAXP%
-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactory
Impl
(but this change nothing, ie: cocoon is ok, but further .EAR deployment
fails)


is this a known problem...
does cocoon set a particular global properties...
how to make xerces support cp1252...

--
Alain Coetmeur

-
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]>


-
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]>




PHP resources for PhpGenerator

2001-11-12 Thread Aurelien

Hi,

I'm trying to get PHP working with cocoon, but I can't put my hands on 
the php servlet jars that provide the PHP processing part. Can somebody 
help ?

Candide


-
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]>




cocoondb.backup error C2 rc2

2001-11-12 Thread Mark S. Kent

I read the latest messages about the "fix" to get Tomcat4 to start up (in
list and FAQ) but the change I made keeps getting overwritten each time I
restart Tomcat4.  I think the FAQ "fix" worked fine with C2RC1 but C2RC2
seems to reset the "cocoondb.properties" line of "modified=no" to
"modified=yes" each time I restart Tomcat4.  I'm pretty sure this same
change in C2RC1 didn't "reset" the value (at least I hadn't seen the
error...).

Mark


-
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: Cocoon2:XSP->Excel?

2001-11-12 Thread acoliver

Since the subject was brought up, I figured I'd comment (I'm one of the
developers of POI, Marc Johnson is the other)

Just FYI, you might want to go to www.sourceforge.net/projects/poi.  We
don't keep the website as up to date as the project page.  The project page
will give you an idea of what the project is about though.

Here's the status/project components

POI - The whole project is called POI which stands for Poor Obfuscation
Implementation, named for the Ole 2 Compound Document compatible library
which all subcomponents are based.  (this leaves room for later ports).  Its
also a hawaiian dish whose description sounds like the Ole 2 Compound
Document format...and everyone says is as disgusting as it sounds...  (see
www.m-w.com or poi.sourceforge.net)

HSSF-Serializer - just started development  (Cocoon 2 serializer which will
take gnumeric style XML in and output XLS)
HSSF - this is the XLS writing API itself.  It can read/write and modify
(read then write) XLS files currently.  It does not yet support formulas or
styling but doesn't seem to mangle them.  
POIFS - this is the OLE 2 Compound Document format.  The prototype can read
and write.  The beta of the production copy can write.  HSSF currently
depends on both.  The reading will probably be done very soon.

All in all the project is coming along pretty nicely.  Once the serializer
is done we wouldn't mind too much if we could be swallowed up by apache.

-
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]>




XSP->TEX->PDF

2001-11-12 Thread Skladov, Victor

Thanks, David!

I have managed it as following:
I have made the following entries in sitemap:







and it works!!!

ONE MORE QUESTION:
How can I tell Cocoon2 to do a few steps, e.g. 
1)XSP + XSL to a TEX-Document, then 
2)TEX-Document to PDF file?


Regards,
Viktor
-Ursprungliche Nachricht-
Von: David Rosenstrauch [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 12. November 2001 15:20
An: [EMAIL PROTECTED]
Betreff: Re: Cocoon2:XSP->Excel?


One possibility:  you can output the result as .csv (comma delimited)
format.  Excel can read that.

Just output the result as text, with an extension of .csv, and when you
write the result, put commas between the columns.


DR


At 12:06 PM 11/12/01 +0100, you wrote:
>Hi, people!
>
>Does anydody have expirience in creating EXCEL-Tables with XSP?
>What must I do to get a true EXCEL Table from a XSP and XSL?
>
>Thanks in advance
>Viktor
>
>-
>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]> 


-
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]>

-
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: a little question

2001-11-12 Thread Brian Blakeley

Hi Florent,

I posted this a while back shortly after I got things going.  Hope it helps.

I think what I did to get past where it sounds like you are was to locate
the various resource files at the end of cocoon.properties and amended
cocoon.properties to point to the various files ( i.e. util.xsl, etc.).

I found the files in $COCOON_HOME/build/src/ 

Once I did that ( with cocoon.jar in the
$TOMCAT_HOME/webapps/cocoon/WEB-INF/lib with the others) I could get
Cocoon.xml and the samples to operate.

Hope this helps.

Brian
- Original Message -
From: "florentmom" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 12, 2001 10:25 AM
Subject: a little question


> i have a problem with cocoon 1.8.2 since some days, and i didn't find the
> solution. when i want launch it, i have this error appears in my internet
> explorer:
>
> Publishing Engine could not be initialized.
> java.lang.RuntimeException: Error loading logicsheet at
> resource://org/apache/cocoon/processor/xsp/library/java/util.xsl due to
> java.lang.Exception: Resource not found or retrieving error.
>
> do you know a solution,
> thanks florent
>
>
> -
> 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]>
>


-
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]>




The encoding "Cp1252" is not supported. Xerces/Jaxp problem induces by cocoon, under jboss ?

2001-11-12 Thread Coetmeur, Alain


I've installed cocoon2rc1 on jboss2.4.3+tomcat4.0,
as a .war.

but after the deployment of cocoon, 
the following ear cannot be deployed because 
the sax parser bump on the message
The encoding "Cp1252" is not supported

my impression is that cocoon.war changes a global setting
about XML, and this prevent jboss to works.

note that, in order to make cocoon2 works, I have (as told here)
changed the XML configuration of jboss...
this is probably the key...

I have installed the xerces 1.4.3 library packaged with cocoon,
to replace the jaxp.jar and crimson.jar

I've removed the 
set
JAXP=-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.crimson.jaxp.Docu
mentBuilderFactoryImpl
set JAXP=%JAXP%
-Djavax.xml.parsers.SAXParserFactory=org.apache.crimson.jaxp.SAXParserFactor
yImpl

and even tested by replacing with the explicit
set JAXP=
-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBu
ilderFactoryImpl
set JAXP=%JAXP%
-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactory
Impl 
(but this change nothing, ie: cocoon is ok, but further .EAR deployment
fails)


is this a known problem...
does cocoon set a particular global properties...
how to make xerces support cp1252...

--
Alain Coetmeur

-
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]>




a little question

2001-11-12 Thread florentmom

i have a problem with cocoon 1.8.2 since some days, and i didn't find the
solution. when i want launch it, i have this error appears in my internet
explorer:

Publishing Engine could not be initialized.
java.lang.RuntimeException: Error loading logicsheet at
resource://org/apache/cocoon/processor/xsp/library/java/util.xsl due to
java.lang.Exception: Resource not found or retrieving error.

do you know a solution,
thanks florent


-
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: C2, DocBook - TransformerException in document()

2001-11-12 Thread Andreas Hartmann


On 12.11.2001 at 15:29 Andreas Hartmann wrote:

   
  Hi Erik,
   
  On 12.11.2001 at 14:56 Erik Stunkat 
  wrote:
  
Hi
 
what I 
did:
 
change the includes in 
docbook.xsl to the same folder:
 

 
and copy the files into the 
same folder. Works fine.
 
erik 
stunkat
  Thanks - 
  but I'm sorry, it didn't solve my problem ...
   
  Greetings,
  Andreas
   
   
OK, downloading C2RC2 solved the 
problem.
I was using C2B2 before.
 
But the CVS Version of Norman's XSL 
Stylesheets is a little buggy,
so I had to do some little 
hacks.
 
Greetings,
Andreas
 

  

   
  -Original Message-From: Andreas Hartmann 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, November 12, 2001 2:41 
  PMTo: [EMAIL PROTECTED]Subject: C2, 
  DocBook - TransformerException in document()
  Hi Cocoon-Community!
   
  I use
  - Cocoon2
  - DocBook 4.1.2
  - Norm Walsh's XSL Stylesheets 1.46 (CVS Version from 
  2001-11-11)
   
  When I try to transform a simple article, I get the 
  following message:
   
  Error in TraxTransformer: file://intranet3/stylesheets/docbook-xsl-1.46-cvs/html/../common/l10n.xsl; 
  Line 79; Column 15; ; SystemID: file://intranet3/stylesheets/docbook-xsl-1.46-cvs/html/../common/l10n.xsl; 
  Line#: 79; Column#: 15javax.xml.transform.TransformerException: Can 
  not load requested doc: intranet3 at 
  org.apache.xalan.templates.FuncDocument.warn(FuncDocument.java:462)
  [...]
   
  /intranet3 is my Cocoon base directory.
  The error seems to occur when the 
  stylesheet tries to receive the current XSL document with 
  document():
   
  [l19n.xsl line 19] [l19n.xsl line 79] 
  [l19n.xsl line 80]   
  Here's my sitemap:
   
  [snip]
        
      
      
    
  
  [/snip]
   
  I use docbook-import.xsl to import docbook.xsl:
   
  stylesheets/docbook-xsl-1.46-cvs/html/docbook.xsl"/>
   
  Can anyone help me?
   
  Thanks in advance!
   
  Greetings,
  Andreas



Re: Cocoon2:XSP->Excel?

2001-11-12 Thread David Rosenstrauch

One possibility:  you can output the result as .csv (comma delimited) format.  Excel 
can read that.

Just output the result as text, with an extension of .csv, and when you write the 
result, put commas between the columns.


DR


At 12:06 PM 11/12/01 +0100, you wrote:
>Hi, people!
>
>Does anydody have expirience in creating EXCEL-Tables with XSP?
>What must I do to get a true EXCEL Table from a XSP and XSL?
>
>Thanks in advance
>Viktor
>
>-
>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]> 


-
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: C2, DocBook - TransformerException in document()

2001-11-12 Thread Andreas Hartmann



 
Hi Erik,
 
On 12.11.2001 at 14:56 Erik Stunkat 
wrote:

  Hi
   
  what I 
  did:
   
  change the includes in 
  docbook.xsl to the same folder:
   
  
   
  and copy the files into the 
  same folder. Works fine.
   
  erik 
  stunkat
Thanks - but 
I'm sorry, it didn't solve my problem ...
 
Greetings,
Andreas

  
 
-Original Message-From: Andreas Hartmann 
[mailto:[EMAIL PROTECTED]]Sent: Monday, November 12, 2001 2:41 
PMTo: [EMAIL PROTECTED]Subject: C2, DocBook 
- TransformerException in document()
Hi Cocoon-Community!
 
I use
- Cocoon2
- DocBook 4.1.2
- Norm Walsh's XSL Stylesheets 1.46 (CVS Version from 
2001-11-11)
 
When I try to transform a simple article, I get the 
following message:
 
Error in TraxTransformer: file://intranet3/stylesheets/docbook-xsl-1.46-cvs/html/../common/l10n.xsl; 
Line 79; Column 15; ; SystemID: file://intranet3/stylesheets/docbook-xsl-1.46-cvs/html/../common/l10n.xsl; 
Line#: 79; Column#: 15javax.xml.transform.TransformerException: Can not 
load requested doc: intranet3 at 
org.apache.xalan.templates.FuncDocument.warn(FuncDocument.java:462)
[...]
 
/intranet3 is my Cocoon base directory.
The error seems to occur when the stylesheet tries 
to receive the current XSL document with document():
 
[l19n.xsl line 19] [l19n.xsl line 79] 
[l19n.xsl line 80]   
Here's my sitemap:
 
[snip]
      
    
    
  

[/snip]
 
I use docbook-import.xsl to import docbook.xsl:
 
stylesheets/docbook-xsl-1.46-cvs/html/docbook.xsl"/>
 
Can anyone help me?
 
Thanks in advance!
 
Greetings,
Andreas



RE: C2, DocBook - TransformerException in document()

2001-11-12 Thread Erik Stunkat



Hi
 
what I did:
 
change the includes in 
docbook.xsl to the same folder:
 

 
and copy the files into the 
same folder. Works fine.
 
erik 
stunkat

  -Original Message-From: Andreas Hartmann 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, November 12, 2001 2:41 
  PMTo: [EMAIL PROTECTED]Subject: C2, DocBook - 
  TransformerException in document()
  Hi Cocoon-Community!
   
  I use
  - Cocoon2
  - DocBook 4.1.2
  - Norm Walsh's XSL Stylesheets 1.46 (CVS Version from 
  2001-11-11)
   
  When I try to transform a simple article, I get the 
  following message:
   
  Error in TraxTransformer: file://intranet3/stylesheets/docbook-xsl-1.46-cvs/html/../common/l10n.xsl; 
  Line 79; Column 15; ; SystemID: file://intranet3/stylesheets/docbook-xsl-1.46-cvs/html/../common/l10n.xsl; 
  Line#: 79; Column#: 15javax.xml.transform.TransformerException: Can not 
  load requested doc: intranet3 at 
  org.apache.xalan.templates.FuncDocument.warn(FuncDocument.java:462)
  [...]
   
  /intranet3 is my Cocoon base directory.
  The error seems to occur when the stylesheet tries to 
  receive the current XSL document with document():
   
  [l19n.xsl line 19] [l19n.xsl line 79] 
  [l19n.xsl line 80]   
  Here's my sitemap:
   
  [snip]
        
      
      
    
  
  [/snip]
   
  I use docbook-import.xsl to import docbook.xsl:
   
  stylesheets/docbook-xsl-1.46-cvs/html/docbook.xsl"/>
   
  Can anyone help me?
   
  Thanks in advance!
   
  Greetings,
  Andreas


RE: find xml files in a directory, list them and render to html

2001-11-12 Thread Erik Stunkat

Hi,


use Directory Generator to list various files in a folder





   

What I get:


junit.xml11/6/01 12:23 PM



OK, I have xml files there and want to transform them to html:

  // tried html instead - doesn´t
work



  


that´s fine when I change the URL from /junit.xml to junit.html manually, as
there is no html file to point to and no mapping.

Any ideas to tell Cocoon I want xxx.html instead of xxx.xml when I go to the
URLs? I cannot map in samples.xml as I don´t know before which xml files
will be there.


Thanks!

Erik Stunkat
QA
POET Software
Hamburg, Germany
+49(0)40 60990-303
[EMAIL PROTECTED]


Hi,

i think it is possible to do what you want.
Especially with C2. But i think you have to
take a look at the DirectoryGenerator and maybe
use it or modify it for you needs.

HTH

Max

> -Original Message-
> From: Erik Stunkat [mailto:[EMAIL PROTECTED]]
> Sent: Montag, 12. November 2001 12:27
> To: [EMAIL PROTECTED]
> Subject: RE: find xml files in a directory, list them and
> render to html
>
>
> Hi Alex,
> thanks, thats not really the problem: what I want to do with
> Cocoon is to
> view various xml files in one directory and link to them on
> the fly. When
> this can?t work I have to use Ant to build sitemaps, I
> thought I would be
> easier with Cocoon.
>
> regards
> erik
>
> Hi,
> I think Ant would be very useful for you. With Ant it is easy
> to launch
> your JUnit tests, copy/move files and launch other java programs.
> Regards
> Alex
>
> At 11:46 12/11/2001 +0100, you wrote:
> >Hi,
> >
> >For our test framework we have this workaround:
> >
> >1. Buildprocess
> >2. create junit test
> >3. create html from junitreports, versioning etc.
> >
> >What I want:
> >
> >1. move xml files to a specific cocoon folder
> >2. list the xml files (Directory Generator ??)
> >3. Create html output (xsl)
> >
> >Nr. 3 is fine...
> >
> >How can I do step 2; list files and open them from there? There is an
> >increasing number of files, creating the directory should be
> dynamic. What
> >about the links?
> >
> >Any ideas??
> >
> >Erik Stunkat
> >QA
> >POET Software
> >Hamburg, Germany
> >+49(0)40 60990-303
> >[EMAIL PROTECTED]
> >
> >
> >-
> >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]>
>
>
>
>
> -
> 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]>
>
>
> -
> 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]>

-
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]>


-
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]>




HSQLDB: How to solve problems (No more DTM IDs available)

2001-11-12 Thread Adnan Zelkanovic

HSQLDB is a very critical and unstable part of Cocoon2. So, the best way to
solve all the problems which could happen with hsqldb (No more DTM IDs
available) can be solved with commenting out the hsqldb-part of
cocoon.xconf.

1. To do this, open the file "cocoon.xconf" which you can find at
"$TOMCAT_HOME/webapps/cocoon/cocoon.xconf".

2. Search for ""
3. comment out the whole ""-block
   (be careful ! don't make recursive comments [comments inside comments] !
it wont work)
4. After that, restart Tomcat, and in future you will have less problems
with Cocoon2/Tomcat3/4 etc.

I hope, I can help some people with this.


Mit freundlichen Grüßen

Adnan Zelkanovic
allgäuNet.Onlinedienste GmbH

Nebelhornstraße 8
86807 Buchloe
Tel. (08241) 96869-33
Fax  (08241) 96869-26
http://www.allgaeu.net
e-mail: [EMAIL PROTECTED]

ein Unternehmen der abc.Mediengruppe



-
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]>




C2, DocBook - TransformerException in document()

2001-11-12 Thread Andreas Hartmann



Hi Cocoon-Community!
 
I use
- Cocoon2
- DocBook 4.1.2
- Norm Walsh's XSL Stylesheets 1.46 (CVS Version from 
2001-11-11)
 
When I try to transform a simple article, I get the following 
message:
 
Error in TraxTransformer: file://intranet3/stylesheets/docbook-xsl-1.46-cvs/html/../common/l10n.xsl; 
Line 79; Column 15; ; SystemID: file://intranet3/stylesheets/docbook-xsl-1.46-cvs/html/../common/l10n.xsl; 
Line#: 79; Column#: 15javax.xml.transform.TransformerException: Can not load 
requested doc: intranet3 at 
org.apache.xalan.templates.FuncDocument.warn(FuncDocument.java:462)
[...]
 
/intranet3 is my Cocoon base directory.
The error seems to occur when the stylesheet tries to 
receive the current XSL document with document():
 
[l19n.xsl line 19] [l19n.xsl line 79] 
[l19n.xsl line 80]   
Here's my sitemap:
 
[snip]
      
    
    
  

[/snip]
 
I use docbook-import.xsl to import docbook.xsl:
 
stylesheets/docbook-xsl-1.46-cvs/html/docbook.xsl"/>
 
Can anyone help me?
 
Thanks in advance!
 
Greetings,
Andreas



RE: Cocoon2:XSP->Excel?

2001-11-12 Thread Bernard D'Have

see http://poi.sourceforge.net

Bernard

> -Original Message-
> From: Skladov, Victor [mailto:[EMAIL PROTECTED]]
> Sent: Monday, 12 November, 2001 12:06
> To: [EMAIL PROTECTED]
> Subject: Cocoon2:XSP->Excel?
> 
> 
> Hi, people!
> 
> Does anydody have expirience in creating EXCEL-Tables with XSP?
> What must I do to get a true EXCEL Table from a XSP and XSL?
> 
> Thanks in advance
> Viktor
> 
> -
> 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]>
> 
> 

-
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: Live Sites powered by Apache Cocoon

2001-11-12 Thread Stuart Roebuck

I've just been looking at the list of sites powered by Cocoon 2 on the 
Cocoon 2 web site.

Our site used to be on the list, so I'm not sure if there was a reason for 
taking it off (or whether it just fell off during an update!), if not, 
 is entirely generated using Cocoon 2.  It is not 
served directly by Cocoon, but served from a standard server with a 
up-to-date cached copy of the site.

If you are happy to put it back on the list, we would be delighted for it 
to be there.

Stuart.

-
Stuart Roebuck, BSc, MBATel.: 0131 228 4853 / Fax.: 0870 054 8322
Managing Director
ADOLOS   


-
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]>




C1.8 - disabling doctype definitions?

2001-11-12 Thread Alfredas Chmieliauskas


I need to disable the doctype definitions in the begining of the cocoon1.8
generated html page ( - get rid of this tag)?
Don't ask me why I need that ;-)
If I delete the following lines from cocoon.properties

formatter.text/html/loose.doctype-public = -//W3C//DTD HTML 4.0
Transitional//EN
formatter.text/html/loose.doctype-system =
http://www.w3.org/TR/REC-html40/loose.dtd

I still get some default doctype (xhtml I guess). Is there another way?

Alfredas

-
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: find xml files in a directory, list them and render to html

2001-11-12 Thread Max Larsson

Hi,

i think it is possible to do what you want.
Especially with C2. But i think you have to
take a look at the DirectoryGenerator and maybe
use it or modify it for you needs.

HTH

Max

> -Original Message-
> From: Erik Stunkat [mailto:[EMAIL PROTECTED]]
> Sent: Montag, 12. November 2001 12:27
> To: [EMAIL PROTECTED]
> Subject: RE: find xml files in a directory, list them and 
> render to html
> 
> 
> Hi Alex,
> thanks, thats not really the problem: what I want to do with 
> Cocoon is to
> view various xml files in one directory and link to them on 
> the fly. When
> this can?t work I have to use Ant to build sitemaps, I 
> thought I would be
> easier with Cocoon.
> 
> regards
> erik
> 
> Hi,
> I think Ant would be very useful for you. With Ant it is easy 
> to launch
> your JUnit tests, copy/move files and launch other java programs.
> Regards
> Alex
> 
> At 11:46 12/11/2001 +0100, you wrote:
> >Hi,
> >
> >For our test framework we have this workaround:
> >
> >1. Buildprocess
> >2. create junit test
> >3. create html from junitreports, versioning etc.
> >
> >What I want:
> >
> >1. move xml files to a specific cocoon folder
> >2. list the xml files (Directory Generator ??)
> >3. Create html output (xsl)
> >
> >Nr. 3 is fine...
> >
> >How can I do step 2; list files and open them from there? There is an
> >increasing number of files, creating the directory should be 
> dynamic. What
> >about the links?
> >
> >Any ideas??
> >
> >Erik Stunkat
> >QA
> >POET Software
> >Hamburg, Germany
> >+49(0)40 60990-303
> >[EMAIL PROTECTED]
> >
> >
> >-
> >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]>
> 
> 
> 
> 
> -
> 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]>
> 
> 
> -
> 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]>

-
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]>




SV: Can I send the intire HttpResponse object to a Java class

2001-11-12 Thread Søren Neigaard

Oh no, I get a "Can't convert org.apache.cocoon.environment.Request to
javax.servlet.http.HttpServletRequest". Can I pass my method a standard
"HttpServletRequest" from my logicsheet? I really don't want a
"org.apache.cocoon.environment.Request" because I want to be able to run my
framework without Cocoon in the future (is I ever get the need).

/Søren

-Oprindelig meddelelse-
Fra: David Rosenstrauch [mailto:[EMAIL PROTECTED]]
Sendt: 8. november 2001 04:40
Til: [EMAIL PROTECTED]
Emne: Re: Can I send the intire HttpResponse object to a Java class


OutputStream msg =
Controller.execute("Hent_Kontakter","Kontakter",null,null, request);


DR



At 09:36 AM 11/8/01 -0800, you wrote:
>In my old example (and now working example, thanks to you guys) I now need
>to get my hands on all parameters send from the client. Whats the best way
>to do this? My guess is to pass the entire HttpRequest object to my method,
>but what do you guys think?
>
>How do I pass the HttpRequest to the following method in a logicsheet?
>
>---
-
>-
>OutputStream msg =
>Controller.execute("Hent_Kontakter","Kontakter",null,null);
>---
-
>-
>
>Med venlig hilsen/Best regards
>Søren Neigaard
>System Architect
>
>Mobilethink A/S
>Arosgaarden
>Åboulevarden 23, 5.sal
>DK - 8000 Århus C
>Telefon: +45 86207800
>Direct: +45 86207810
>Fax: +45 86207801
>Email: [EMAIL PROTECTED]
>Web: www.mobilethink.dk
>
>
>
>-
>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]>


-
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]>




-
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: Cocoon 2 - problem loading in Tomcat 3.2.1

2001-11-12 Thread PLingwood


it's trying to create a ServletOutputLogTarget class, so in there somewhere its
trying to create a log file.
Its taking the Servlet context as a constructor parameter. Therefore it may be
trying to create the file
somewhere within the servlet engine scope(sevlet root /s , servlet specified
classpath etc ).
Do you have write permissions in these areas?



   
 
"Larkin
 
Cunningham"  To: <[EMAIL PROTECTED]> 
 
   Subject: Cocoon 2 - problem loading 
in Tomcat 3.2.1
   
 
11/12/01 11:11 AM  
 
Please respond to  
 
cocoon-users   
 
   
 
   
 




Hi,

My problem is with loading the Cocoon 2 servlet when starting up tomcat
3.2.1. I used the war file from the latest distribution, so I expected it to
just plug-in to Tomcat without a hitch. It looks like a security problem,
but I have allowed all permissions for all contexts by adding the line
"permission java.security.AllPermission" in tomcat.policy.custom.
I am at a bit of a loss, because searching on the Internet does not find
this specific error.
Any help is much appreciated. The error is as follows:

2001-11-12 10:10:09 - ContextManager: Adding context Ctx( /cocoon )
Exception in thread "main" java.lang.ExceptionInInitializerError:
java.security.
AccessControlException: access denied (java.util.PropertyPermission
line.separator read)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java
:272)
at
java.security.AccessController.checkPermission(AccessController.java:399)
at
java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
at
java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1278)
at java.lang.System.getProperty(System.java:599)
at
org.apache.log.format.PatternFormatter.(PatternFormatter.java:108)
at
org.apache.log.output.DefaultOutputLogTarget.(DefaultOutputLogTarget.j
ava:75)
at
org.apache.log.output.DefaultOutputLogTarget.(DefaultOutputLogTarget.j
ava:55)
at
org.apache.log.output.ServletOutputLogTarget.(ServletOutputLogT
arget.java:24)
at
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:374)
at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:128)
at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
at org.apache.tomcat.core.Handler.init(Handler.java:215)
at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup
Interceptor.java :130)
at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
at
org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)

Regards,
Larkin Cunningham

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 12 November 2001 10:57
To: [EMAIL PROTECTED]
Subject: Error on loading Cocoon 2


Hi all,
 When trying to start cocoon2 under weblogic6, I get the following error
:
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:380)
at
org.apache.avalon.framework.context.DefaultContext.put(DefaultContext.java:1
07)
at
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:388)
at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:128)
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java
:638)
at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.ja
va:581)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStu

RE: find xml files in a directory, list them and render to html

2001-11-12 Thread Erik Stunkat

Hi Alex,
thanks, thats not really the problem: what I want to do with Cocoon is to
view various xml files in one directory and link to them on the fly. When
this can?t work I have to use Ant to build sitemaps, I thought I would be
easier with Cocoon.

regards
erik

Hi,
I think Ant would be very useful for you. With Ant it is easy to launch
your JUnit tests, copy/move files and launch other java programs.
Regards
Alex

At 11:46 12/11/2001 +0100, you wrote:
>Hi,
>
>For our test framework we have this workaround:
>
>1. Buildprocess
>2. create junit test
>3. create html from junitreports, versioning etc.
>
>What I want:
>
>1. move xml files to a specific cocoon folder
>2. list the xml files (Directory Generator ??)
>3. Create html output (xsl)
>
>Nr. 3 is fine...
>
>How can I do step 2; list files and open them from there? There is an
>increasing number of files, creating the directory should be dynamic. What
>about the links?
>
>Any ideas??
>
>Erik Stunkat
>QA
>POET Software
>Hamburg, Germany
>+49(0)40 60990-303
>[EMAIL PROTECTED]
>
>
>-
>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]>




-
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]>


-
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]>




CPU Hogging by Cocoon

2001-11-12 Thread Adam A R



Hi All,
 
I am using Cocoon 1.8 with iAnywhere 
Wireless Server as the Servlet Engine.
 
I have seen that the CPU usgae increases 
when I request any page via Cocoon.
The trend of this increase is interesting. 
it periodically rises and falls. But the time for which it is being used keeps 
increasing over the time. Finally after some time, the memory is completely used 
by this application. If I restart the server, everything is fine.
 
Also the server is fine if I dont request 
the XML page via Cocoon.
 
How do I stop Cocoon from hogging the CPU 
usage? 
 
Or am I missing out 
something??
 
Thanks in advance
 
Adam


Cocoon 2 - problem loading in Tomcat 3.2.1

2001-11-12 Thread Larkin Cunningham

Hi,

My problem is with loading the Cocoon 2 servlet when starting up tomcat
3.2.1. I used the war file from the latest distribution, so I expected it to
just plug-in to Tomcat without a hitch. It looks like a security problem,
but I have allowed all permissions for all contexts by adding the line
"permission java.security.AllPermission" in tomcat.policy.custom.
I am at a bit of a loss, because searching on the Internet does not find
this specific error.
Any help is much appreciated. The error is as follows:

2001-11-12 10:10:09 - ContextManager: Adding context Ctx( /cocoon )
Exception in thread "main" java.lang.ExceptionInInitializerError:
java.security.
AccessControlException: access denied (java.util.PropertyPermission
line.separator read)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java
:272)
at
java.security.AccessController.checkPermission(AccessController.java:399)
at
java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
at
java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1278)
at java.lang.System.getProperty(System.java:599)
at
org.apache.log.format.PatternFormatter.(PatternFormatter.java:108)
at
org.apache.log.output.DefaultOutputLogTarget.(DefaultOutputLogTarget.j
ava:75)
at
org.apache.log.output.DefaultOutputLogTarget.(DefaultOutputLogTarget.j
ava:55)
at
org.apache.log.output.ServletOutputLogTarget.(ServletOutputLogT
arget.java:24)
at
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:374)
at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:128)
at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
at org.apache.tomcat.core.Handler.init(Handler.java:215)
at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup
Interceptor.java :130)
at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
at
org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)

Regards,
Larkin Cunningham

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 12 November 2001 10:57
To: [EMAIL PROTECTED]
Subject: Error on loading Cocoon 2


Hi all,
 When trying to start cocoon2 under weblogic6, I get the following error
:
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:380)
at
org.apache.avalon.framework.context.DefaultContext.put(DefaultContext.java:1
07)
at
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:388)
at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:128)
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java
:638)
at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.ja
va:581)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
a:526)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletC
ontext.java:1078)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServlet
Context.java:1022)
at
weblogic.servlet.internal.HttpServer.loadWARContext(HttpServer.java:499)
at
weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:421)
at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
at weblogic.j2ee.Application.deploy(Application.java:175)
at weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:173)
at
weblogic.management.mbeans.custom.Application.setLocalDeployed(Application.j
ava:217)
at
weblogic.management.mbeans.custom.Application.setDeployed(Application.java:1
87)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.
java:1136)
at
weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.
java:773)
at
weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.
java:750)
at
weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati
onMBeanImpl.java:256)
at
com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
6)
at
com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
1)
at
weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(Confi
gurationMBeanImpl.java:318)
at
weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati
onMBeanImpl.java:259)
at
com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
6)
at
com.sun.management.jmx.MBeanSe

RE: Deploying Cocoon2 in JBoss under Linux

2001-11-12 Thread Karl Øie

another thing to try when you want to couple jboss and cocoon2 is to comment
out all hsqldb references because i found that to be the last obstacle(after
xerces/crimson and xfvb was sorted out) to get cocoon2rc1 to run on jboss.

of reasons that i haven't yet looked carefully at the hsqldb server wants an
absolut path to a work directory it has access to, but jboss autodeploys all
wars in a temp directory, and hsql cannot live under these conditions, so it
has to be boostrapped with a working directory. i solved this by hunting
down and commenting out all references to hsqldb as well, but that's because
i don't use it.

a last knirk with jboss+tomcat4 is that the tomcat-test.ear that is bundled
in the dist doesn't work when you have bootstrapped jboss to run with xerces
and xalan, so i removed this ear file from the deploy dir, restarted jboss
and copied the cocoon.war file into it. it works very well, except that
tomcat4 still has a troubles with removing stale work files, so sometimes i
have to kill jboss/tomcat/work/* to allow changes to take place.

mvh karl øie



-Original Message-
From: Parc Place [mailto:[EMAIL PROTECTED]]
Sent: 11. november 2001 21:19
To: [EMAIL PROTECTED]
Subject: Re: Deploying Cocoon2 in JBoss under Linux


Hi, sorry about the delay, just catching up on my email this afternoon.

I managed to get this somewhat functional a few weeks ago - as you
mention, there are a number of exceptions during startup about the
unsupported codepage - I agree that it's not a critical problem, and can
confirm that it isn't preventing cocoon from running.

>>I've read and followed all instructions when trying to deploy
>>Cocoon-2.0rc1a into JBoss-2.4.3_Tomcat-3.2.3 (the bundled edition) under
my
>>Debian linux (sid). I've removed the JAXP and Crimson parsers, had put
>>xerces instead of it, modified the run.sh script according to the guide,
and
>>even replaced jaxp/crimson with xerces+xalan in my ant installation.
>>
Ok, here is a difference in our setup - I used the version bundled with
tomcat 4
One thing that I needed help with was getting JBoss to use Xerces - I
read on this mailing list (a very informative email from karl øie, email
title was "FAQ: cocoon2 parser errors +tomcat/jboss/whatever", you can
try searching for it) that you have to tell it which SAX parser and DOM
builder to use - my run.sh for jboss has been modified so that it
contains this:
...
JBOSS_CLASSPATH=$JBOSS_CLASSPATH:../lib/xerces_1_4_3.jar
JAXP=-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.Docum
entBuilderFactoryImpl
JAXP="$JAXP
-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactory
Impl"
...

Although it was a nice challange getting all this working together, I've
decided to switch back to plain Tomcat for Cocoon, and experiment with
EJB seperately. For now, at least.

Good luck,
Adam


-
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]>


-
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]>




Cocoon2:XSP->Excel?

2001-11-12 Thread Skladov, Victor

Hi, people!

Does anydody have expirience in creating EXCEL-Tables with XSP?
What must I do to get a true EXCEL Table from a XSP and XSL?

Thanks in advance
Viktor

-
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: find xml files in a directory, list them and render to html

2001-11-12 Thread Alexandre Victoor

Hi,
I think Ant would be very useful for you. With Ant it is easy to launch 
your JUnit tests, copy/move files and launch other java programs.
Regards
Alex

At 11:46 12/11/2001 +0100, you wrote:
>Hi,
>
>For our test framework we have this workaround:
>
>1. Buildprocess
>2. create junit test
>3. create html from junitreports, versioning etc.
>
>What I want:
>
>1. move xml files to a specific cocoon folder
>2. list the xml files (Directory Generator ??)
>3. Create html output (xsl)
>
>Nr. 3 is fine...
>
>How can I do step 2; list files and open them from there? There is an
>increasing number of files, creating the directory should be dynamic. What
>about the links?
>
>Any ideas??
>
>Erik Stunkat
>QA
>POET Software
>Hamburg, Germany
>+49(0)40 60990-303
>[EMAIL PROTECTED]
>
>
>-
>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]>




-
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 on loading Cocoon 2

2001-11-12 Thread PLingwood

Hi all,
 When trying to start cocoon2 under weblogic6, I get the following error :
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:380)
at
org.apache.avalon.framework.context.DefaultContext.put(DefaultContext.java:107)
at
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:388)
at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:128)
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:638)
at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:581)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:526)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1078)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:1022)
at
weblogic.servlet.internal.HttpServer.loadWARContext(HttpServer.java:499)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:421)
at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
at weblogic.j2ee.Application.deploy(Application.java:175)
at weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:173)
at
weblogic.management.mbeans.custom.Application.setLocalDeployed(Application.java:217)
at
weblogic.management.mbeans.custom.Application.setDeployed(Application.java:187)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.java:1136)
at
weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:773)
at
weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:750)
at
weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:256)
at
com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
at
com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
at
weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:318)
at
weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:259)
at
com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
at
com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
at
weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:291)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:173)
at $Proxy6.setDeployed(Unknown Source)
at weblogic.management.console.pages._panels._mbean._webappcomponent.
_jspService(_webappcomponent.java:398)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:213)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:1265)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1622)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
--- nested within: --
weblogic.j2ee.DeploymentException: Could not load cocoon - with nested
exception:
[java.lang.NullPointerException]
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:424)
at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
at weblogic.j2ee.Application.deploy(Application.java:175)
at weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:173)
at
weblogic.management.mbeans.custom.Application.setLocalDeployed(Application.java:217)
at
weblogic.management.mbeans.custom.Application.setDeployed(Application.java:187)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.java:1136)
at
weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:773)
at
weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:750)
at
weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:256)
at
com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
at
com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
at
weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:318)
at
weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:259)
at
com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
at
com.sun.management.jmx.MBea

find xml files in a directory, list them and render to html

2001-11-12 Thread Erik Stunkat

Hi,

For our test framework we have this workaround:

1. Buildprocess
2. create junit test
3. create html from junitreports, versioning etc.

What I want:

1. move xml files to a specific cocoon folder
2. list the xml files (Directory Generator ??)
3. Create html output (xsl)

Nr. 3 is fine...

How can I do step 2; list files and open them from there? There is an
increasing number of files, creating the directory should be dynamic. What
about the links?

Any ideas??

Erik Stunkat
QA
POET Software
Hamburg, Germany
+49(0)40 60990-303
[EMAIL PROTECTED]


-
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]>




SV: Re: Newbie XSP question - why dosn't this work?

2001-11-12 Thread Søren Neigaard

Please let me know if some more info can help you guys help me, and I will
include it ASAP. I really need some help here you see :)

I... What... But... Ok tjeck this one out (this will probably not make any
sence to people new to this thread):

I have my "old" Java object that returns XML to my logicsheet. This object
can return a lot of different XML, depending on what parameters it get (my
super duper framework - joke). Now I have two different XML outputs on two
different URL's. Each work just fine, C2 processes my XML just fine. But if
I hit XML1-URL C2 processes the XML, and if I then hit XML2-URL reight
thereafter it prints out the XML (my old problem returns), and I have to
restart C2 to get XML2-URL to work correctly. And vise versa if I start by
hitting XML2-URL (after a restart) it works but then XML1-URL fails (yes the
old "XML-printout" problem again again).

Are you confused, I know I am. I dont understand a thing at all Any
input apriciated.

Best regards
Søren

-Oprindelig meddelelse-
Fra: David Rosenstrauch [mailto:[EMAIL PROTECTED]]
Sendt: 6. november 2001 08:24
Til: [EMAIL PROTECTED]
Emne: Fwd: Re: Newbie XSP question - why dosn't this work?


Søren,

OK.  Problem solved.

Frank was right.   is the way to go.  It will parse the
text that you pass in to it, and generate SAX calls from it (as opposed to
writing the text straight to the output - after escaping all the control
chars - like it's doing now).

I've attached:
* test.xsp, which is the solution to your problem but using test data (you
should be able to easily adapt it to your needs), and
* test.xml, which is the output that proves this works.

Note:
1) You must include the namespace
xmlns:util="http://apache.org/xsp/util/2.0"; in your XSP or the
 won't get called properly.

2) the super-nested call you need to make this work:
s

s takes the value of String  s, which is then passed in
to .


This should solve your problem.  Email if not.


DR


>From: "Frank Taffelt" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: Re: Newbie XSP question - why dosn't this work?
>Date: Tue, 6 Nov 2001 10:17:03 +0100
>
>sorry i sent you the right in the wrong syntax.
>the code to embed your String is:
>
>msg 
>
>
>alternatively you can let your ContactBO return either an
>* org.w3c.dom.Node that represents your BO in a DOM
>* object that implements org.apache.cocoon.xml.XMLizable for generating
>SAX-Events according to your BO-Data
>
>
>hth,
>frank
>
>
>
>
>
>
>
>-
>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]>


-
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]>




XML-documents without xml-stylesheet-PI?

2001-11-12 Thread Oliver Schoenwald

Hello,

I'm using Cocoon 1.8.2 running under Tomcat 3.2.3 on a Solaris
8-machine.
I'm experimenting with an xml-based website where out authors should be
allowed
to create their own xml-documents that refer to certain stylesheets
offered in
a centralized, public directory of the site for the necessary
transformations/
formattings.

I wonder if I can define a certain xsl-stylesheet to be used for
documents without
an xml-stylesheet-PI by default. How can I accomplish this?

Thank you in advance,

Oliver Schoenwald

-
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]>