Re: Lucene Term Highlighting

2004-10-12 Thread mvaterlaus
Hello Mirko, in case you haven't found a solution yet, on cocooncenter.org there was an article covering this topic quite a while ago. Anyhow, might still be worth a click --mv On Mon, 11 Oct 2004 11:42:45 +0200, Mirko Görgen <[EMAIL PROTECTED]

Re: again about the sitemap....

2004-10-12 Thread Martin Dulisch
Hi Roberto, cocoon "mounts" the sub-sitemaps in the main sitemap. Which sitemap is mounted is dependant on the requested url. Please have a look at the documentation about map:mount and sub-sitemaps. Martin Roberto wrote: hi there, well reading the mail in the mailist Im feeling bad to ask this

Re: JDK 1.5 and Cocoon

2004-10-12 Thread Upayavira
Roger Powell wrote: I’m trying to set up Tomcat, Cocoon, Xindice, and Forrest but I’ve only got as far as Cocoon (which I set up OK on a different computer, same OS, about a year ago). Does Cocoon compile under JDK 1.5? (I get errors of the sort: “as of release 1.5, ‘enum’ is a key word and may

Re: No function nor continuation given in

2004-10-12 Thread beyaNet
Hi John, thanks for your help. regards Andrew On 12 Oct 2004, at 07:38, John L. Webber wrote: Hi Andrew, Continuations do timeout. This can be configured in cocoon.xconf: 18 18 Hope that helps, John beyaNet wrote: Hi, I am getting the above mentioned error and I don't underst

Problem with StreamGenerator

2004-10-12 Thread Art Spassky
Hi all. Can someoneb help me with my problem. I am using cocoon-2.1.5.1. I would like to use StreamGenerator for automatical generating documents from uploaded files. everything works well but I found problem with encoding. When I upload xml file with encoding UTF-8 and transform it. Output file c

Installing Saxon

2004-10-12 Thread David Verdin
Hi, I'm new to customizing Cocoon, so I may ask questions whose answers are obvious. So sorry in advance. So I want to install Saxon because I keep getting errors like : "org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.lang.ArrayIndexOutOfBoundsException: Attempt to modi

Re: XML not well formed after transformation - xmlns:%@$#^@#="%@$#^@#"

2004-10-12 Thread Jean-Baptiste Quenot
* Bart Molenkamp: > What is someone doing wrong when, after applying a stylesheet to a > document, the result document contains xmlns:[EMAIL PROTECTED]@#="[EMAIL > PROTECTED]@#". Same problem here, with the Cocoon Forms stylesheets apparently. -- Jean-Baptiste Quenot Anyware Technologies ht

RE: XML not well formed after transformation - xmlns:%@$#^@#="%@$#^@#"

2004-10-12 Thread Bart Molenkamp
> > > What is someone doing wrong when, after applying a stylesheet to a > > document, the result document contains xmlns:[EMAIL PROTECTED]@#="[EMAIL > > PROTECTED]@#". > > Same problem here, with the Cocoon Forms stylesheets apparently. In my case it was not the CForms stylesheets, but (l

Re: Problem with StreamGenerator

2004-10-12 Thread [EMAIL PROTECTED]
Art Spassky wrote: Hi all. Can someoneb help me with my problem. I am using cocoon-2.1.5.1. I would like to use StreamGenerator for automatical generating documents from uploaded files. everything works well but I found problem with encoding. When I upload xml file with encoding UTF-8 and transform

RE: XML not well formed after transformation - xmlns:%@$#^@#="%@$#^@#"

2004-10-12 Thread Bart Molenkamp
Are you using the JXTemplateGenerator? I just found out that replacing the JXTemplateGenerator with the file generator doesn't generate these buggy namespaces anymore. Maybe that's where the problem is, and I'm thinking that it may cause these problems when a namespace is declared inside a tag for

Re: Installing Saxon

2004-10-12 Thread Colin Paul Adams
> "David" == David Verdin <[EMAIL PROTECTED]> writes: David> So, I read the cocoon Wiki about installing Saxon, but it David> doesn't work. Which version of Saxon are you using? David> Cocoon doesn't find my processor. David> So : David> 1- Do I have to make something s

Re: Installing Saxon

2004-10-12 Thread David Verdin
OK. That's the proff : you can spend three hours trying to do something and still completely miss a point. Like, for example, forgetting to restart cocoon after changing its configuration... Sorry for these two useless mails. I think I'll go take a nap before restart working. David Verdin a éc

Re: Installing Saxon

2004-10-12 Thread David Verdin
Many thanks for your answers, by the way ! Colin Paul Adams a écrit : "David" == David Verdin <[EMAIL PROTECTED]> writes: David> So, I read the cocoon Wiki about installing Saxon, but it David> doesn't work. Which version of Saxon are you using? David> Cocoon doesn't find my

Re: XML not well formed after transformation - xmlns:%@$#^@#="%@$#^@#"

2004-10-12 Thread Jean-Baptiste Quenot
* Bart Molenkamp: > Are you using the JXTemplateGenerator? Indeed. > This can happen e.g. by importing a JXTemplate using jx:import. Exactly, that's what we do. Please tell us when JxTemplateGenerator.java has revealed some secrets to you ;) -- Jean-Baptiste Quenot Anyware Technologies http

Re: Problem with StreamGenerator

2004-10-12 Thread Art Spassky
With UTF-8 I have the same result. I think the problem may be in how servlet container handle uploaded files. I change encoding in web.xml but have the same result. may be Jetty is not perfect servlet container or it is a bug. Thank you once more for reply. - Original Message - From: "[

Re: Problem with StreamGenerator2

2004-10-12 Thread Art Spassky
I think it is a bug. Or I am not completly understand encodings. I use standard sample of StreamGenerator at http://localhost:/samples/stream/uploadfile I change its sitemap.xmap with the following UTF-8 When I upload xml file without cyrilic symbols all works well. Pr

RE: XML not well formed after transformation - xmlns:%@$#^@#="%@$#^@#"

2004-10-12 Thread Bart Molenkamp
> * Bart Molenkamp: > > > Are you using the JXTemplateGenerator? > > Indeed. > > > This can happen e.g. by importing a JXTemplate using jx:import. > > Exactly, that's what we do. > > Please tell us when JxTemplateGenerator.java has revealed some secrets > to you ;) AFAICS the namespace is

Re: confirm subscribe to users@cocoon.apache.org

2004-10-12 Thread Francois Jannin
Plop all, I've got a question that cannot be left unanswered : using Webdav thru TraversableGenerator, I can only access content that was on the server at first connection time, but it is not updated if new content is to be added since. The only way to access new content is to restart my s

webdav content not updated

2004-10-12 Thread Francois Jannin
Plop all, I've got a question that cannot be left unanswered : using Webdav thru TraversableGenerator, I can only access content that was on the server at first connection time, but it is not updated if new content is to be added since. The only way to access new content is to restart my s

Re: Problem with StreamGenerator2

2004-10-12 Thread [EMAIL PROTECTED]
Art Spassky wrote: I think it is a bug. Or I am not completly understand encodings. I use standard sample of StreamGenerator at http://localhost:/samples/stream/uploadfile I change its sitemap.xmap with the following UTF-8 When I upload xml file without cyrilic symbols all

Re: Can't get the xml declaration in the output

2004-10-12 Thread Timur Izhbulatov
IceT писал(а): Hello, Every time I output something with Cocoon, it omits the xml-declaration. Can anybody help me? I'm using the latest release of Cocoon, with J2sdk 1.42, windows XP, IExplorer and Mozzila This is my sitemap: http://apache.org/cocoon/sitemap/1.0";>

Re: No lucene, but "Too many open files"

2004-10-12 Thread Hugh Field-Richards
Hi I have had a similar problem running on a Linux box. I tried changing the open files limit (ulimit -n) from 1024 to 2048 but it seemed to make no difference at all. Mandrake Linux 9.1 Java build 1.4.2_03-b02 Apache 2.0.47 Tomcat 4.1.27-2 Cocoon 2.1.5.1 xalan 2.5.2 xerces 2.6.1 open file size

Re: Problem with StreamGenerator2

2004-10-12 Thread Art Spassky
Thank you very much. You help me a lot. I found useful web page http://wiki.apache.org/cocoon/RequestParameterEncoding The problem is solved !!! - Original Message - From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 12, 2004 4:43 PM Subject: Re

ExtractTransformer, caching

2004-10-12 Thread Thomas Krause
Hello, I'm using an ExtractTransformer to transform xml to gif. All works fine but the ID given by //fe:fragment/@fragment-id it seems to be always the same for a picture on the same site. Well, the ID is different from ID's on other sites. An of course I've set the pipelines to nocache. If I h

the case of the over enthusiastic system admin ;-)

2004-10-12 Thread Paul Joseph
I am using cocoon to develop a webapp...all is going well, but I am wondering - how does one guard against an over enthsiastic system admin changing the javascript files? The webapp is likely to be deployed on many sites and one of them is bound to have an enthusiastic system admin who may try t

Re: XForms/DENG passing parameters to Cocoon?

2004-10-12 Thread Lars Huttar
Upayavira wrote: Lars Huttar wrote: Yeah, I had never come across it, but it seems very valuable. Next question: Is there a way to inject this data into the pipeline other than as a generator? My desire is to have my XSP page use data from the HTTP request body (which is a small XML snippet). So

Re: Problem with StreamGenerator2

2004-10-12 Thread [EMAIL PROTECTED]
Art Spassky wrote: Thank you very much. You help me a lot. I found useful web page http://wiki.apache.org/cocoon/RequestParameterEncoding The problem is solved !!! I've also played around with the sample from "http://localhost:8080/cocoon/samples/stream/uploadfile"; but couldn't find anything w

AW: Lucene Term Highlighting

2004-10-12 Thread Mirko Görgen
Hi MV Yes I allready noticed this articel, but I guess this is a little bit out of date. On the other hand, using this method you have to modify the source of lucene, regarding lucene webpage especially the "term highlighting" you only have to add the jar. I think this is the better way of impleme

Re: the case of the over enthusiastic system admin ;-)

2004-10-12 Thread Russell Geraghty
There's nothing to stop you 'jar'ing the javascript and putting it on the classpath, then use the resource:/ protocol to access the javascript, this should prevent an enthusiast from noticing the javascript. Russell Paul Joseph wrote: I am using cocoon to develop a webapp...all is going well, bu

Re: the case of the over enthusiastic system admin ;-)

2004-10-12 Thread Paul Joseph
Good idea, I will do as suggested, thanks! --- Russell Geraghty <[EMAIL PROTECTED]> wrote: > There's nothing to stop you 'jar'ing the javascript > and putting it on > the classpath, then use the resource:/ protocol to > access the > javascript, this should prevent an enthusiast from > noticing

cocoon versus velocity

2004-10-12 Thread Nandakumar Mounasamy
Has anyone compared the scalability and page response of cocoon/saxon with struts/velocity with regard to page generation and styling? We need to choose one of these Web Application platforms and scalability and performance are the key considerations.   For this discussion, you can consider Tomcat

RE: Lucene Term Highlighting

2004-10-12 Thread Hugo Burm
Hello Mirko, I am the one who wrote the outdated article. Today, I looked into the Lucene sandbox code for the hit-highlighter. Not that many things did change. But the good news is that you don't have to modify the Lucene source code (the main reason we had to modify the Lucene source code was, t

Re: cocoon versus velocity

2004-10-12 Thread Ralph Goers
While many pipelines do use XSLT there is no requirement for that. It just happens that XSLT is pretty powerful and solves a lot of problems. As far as templating goes, Cocoon provides both a Velocity and JXTemplate generator. In fact, we are using the Velocity generator in one part of our product

How do you configure cocoon-searcher?

2004-10-12 Thread Sal Mangano
The component SimpleLuceneCocoonSearcherImpl is configurable but it is not clear where I should configure it. For example, it provides for default-search-field and analyzer-classname. I have tried the following in cocoon.xcof with no luck: org.apache.cocoon.components.search.CustomAnalyzer a

[HELP]If real directory exist,tomcat 5 will automatic add ending slash to the request URL.

2004-10-12 Thread roy huang
Hi,all: When I move my application form tomcat 4 to tomcat 5,I found if real directory exist,tomcat 5 will automatic add ending slash to the request URL. You can follow this steps: 1.compile cocoon 2.1.5.1 2.copy webapp directory to tomcat's webapps directory 3.create a empty d

xsl

2004-10-12 Thread Adriano Smith
Using xsl is it possible to read from a text file and display the text?

Re: xsl

2004-10-12 Thread Derek Hohls
I assume you mean "using XSL outside of Cocoon", in which case you would first need to convert the text into some kind of XML structure, using a parser of your choice, before you could use an XSLT stylesheet to process it. Inside of Cocoon, this is a relatively trivial task... ;-p >>> [EMAIL PROT