same cocoon distribution do not work as servlet and command line

2002-07-15 Thread Sebastien SACARD
Hi, I'm trying to run cocoon on command line and as a servlet under tomcat. From the different mailing lists I've been reading, it seems that the binary distribution of cocoon (2-0.2) can't work as a command-line application, whereas the source distribution can. My experience seems to confirm

[broken link] while running org.apache.cocoon.Main

2002-07-09 Thread Sebastien SACARD
Hi, I successfully installed cocoon under tomcat, and run it also in command line through an Ant task. But now I'm trying to run it through a simple shell script, I'm getting : DEBUG 10262 [] (): Set the URI Prefix (OLD=, NEW=) DEBUG 10262 [] (): Reset context to file:

writing servlet output to disk

2002-07-01 Thread Sebastien SACARD
Hi, I used the coccon command line application for a while, and I just migrated to the servlet version with Tomcat. I'd like both to write the result of a pipeline to disk AND to the standart output (in the servlet case, the Response object). I don't need to do both in the same time. for exam

Re: how to remove the DTD wriiten at the top ?

2002-06-25 Thread Sebastien SACARD
you get rid of , , and > tags? >2) What version of cocoon are you using? > >Geoff Howard > >>-Original Message- >>From: Sebastien SACARD [mailto:[EMAIL PROTECTED]] >>Sent: Monday, June 24, 2002 2:55 AM >>To: [EMAIL PROTECTED] >>Subject: R

Re: 'optimised HTML' serialiser

2002-06-25 Thread Sebastien SACARD
Not supported by Netscape 4.X Luca Morandini wrote: >...or, for the sake of getting rid of indentation, you can set no in >your HTML serializer definition. > >But, if you have big HTMLs, the real answer is compress the whole thing; both IIS and >Apache have this feature, which is supported

Re: 'optimised HTML' serialiser

2002-06-25 Thread Sebastien SACARD
Excellent, thanks !! Bert Van Kets wrote: > If you want to strip the indent spaces add these lines to the last XSL: > > > > > To optimise the flow, I add them to every XSL. > Bert > > At 13:33 25/06/2002 +0200, you wrote: > >> Hi, >> >> In a production environment, it's important to have '

Re: 'optimised HTML' serialiser

2002-06-25 Thread Sebastien SACARD
page. >I would consider using the XHTML basic DTD if you need something really >compact and simple. And there's always whitespace stripping. > >Cheers, >Manos > > > >>-Original Message- >>From: Sebastien SACARD [mailto:[EMAIL PROTECTED]] >>Se

'optimised HTML' serialiser

2002-06-25 Thread Sebastien SACARD
Hi, In a production environment, it's important to have 'optimised HTML' (without quotes, without spaces, etc ...) in order to lower the number of bytes to the end user. This question sounds a little silly, but does anyone know a transformer or a serialiser that produces such HTML ?

Re: how to remove the DTD wriiten at the top ?

2002-06-23 Thread Sebastien SACARD
Vadim Gritsenko wrote: >>From: Sebastien SACARD [mailto:[EMAIL PROTECTED]] >> >>Hi, >> >>I can't get rid off the DTD declaration written on top of the HTML >> >pages > >>created with a default serializer : >> >> >> &g

Re: Could you help me find the article?

2002-06-12 Thread Sebastien SACARD
Maybe you're talking about the IBM tutorials you can found here : http://www-105.ibm.com/developerworks/education.nsf/dw/xml-onlinecourse-bynewest?OpenDocument&Count=500 There is 2 or 3 articles about how to use cocoon. Robert Nicholson wrote: >I was wondering if somebody could help me I've lost

Re: cocoon as commandline tool

2002-06-10 Thread Sebastien SACARD
Renzo, I can answer only to 3 (I'm a newbie too, but I'm please to answer to this) : -u is the log level different values available, INFO, DEBUG for example. DEBUG will give useful informations when things go wrong. Renzo Kottmann wrote: >Hello All, > >My name is Renzo and I'm a NEWBIE to coc

i18n cleanest solution ?

2002-06-03 Thread Sebastien SACARD
Hi, I'd like to use the standard java.util.PropertyResourceBundle within cocoon to manage i18n. I know that a cocoon i18n transfomer exist, but as it's not standart (use of XMLResourceBundle whereas a XML standart for translations exist, TMX, http://www.lisa.org/tmx/), I wouldn't be able to us

Re: missing classes ?

2002-05-30 Thread Sebastien SACARD
wrote: From: Sebastien SACARD [mailto:[EMAIL PROTECTED]]Hi,I'm trying to run cocoon from the command line, like this :/usr/java/jdk/bin/java -classpath ../WEB-INF/lib/cocoon-2.0.2.jarorg.apache.cocoon.Main -c../WEB-INF/lib -d. -w./work -l/work/cocoon.log -uINFO index.htmland it

missing classes ?

2002-05-30 Thread Sebastien SACARD
Hi, I'm trying to run cocoon from the command line, like this : /usr/java/jdk/bin/java -classpath ../WEB-INF/lib/cocoon-2.0.2.jar org.apache.cocoon.Main -c../WEB-INF/lib -d. -w./work -l/work/cocoon.log -uINFO index.html and it appears that classes are missing fromt the packages extracted from

Re: template possibilities

2002-05-29 Thread Sebastien SACARD
ude/1.0"> SDNGUI Template Demo />By the way if you have any cons / other idea, let me know.fabien. -Message d'origine-De: Sebastien SACARD [mailto:[EMAIL PROTECTED]]Date: mercredi 29 mai 2002 14:05À: [EMAIL PROTECTED]Objet: template possibilitiesHi

template possibilities

2002-05-29 Thread Sebastien SACARD
Hi, I want to use cocoon to generate my website static pages and I know it can do it perfectly; but I did not find a way to do this simple thing : - my pages are built from different modules and a gobal template. - Each module is composed of one XML document and a XSLT file, and I want to conca