cvs commit: xml-cocoon2/src/org/apache/cocoon Cocoon.java

2001-12-09 Thread giacomo
giacomo 01/12/09 21:46:46 Modified:src/org/apache/cocoon Cocoon.java Log: Added Resource Monitor in Cocoon.java Submitted by: Gerhard Froehlich <[EMAIL PROTECTED]> Revision ChangesPath 1.34 +44 -4 xml-cocoon2/src/org/apache/cocoon/Cocoon.java Index: Cocoo

Re: Protocol context: question

2001-12-09 Thread giacomo
On Sun, 9 Dec 2001, Bernhard Huber wrote: > Hi, > > >>Question 1: Is there any reason why it is not resolved really to the > >>servlet context, hence writing > >>context://cocoon/foo/bar to resolve to the current cocoon servlet context? > >> > > > >Maybe I don't get what you mean. But in your sug

Re: [RT] Managing Flow and Resources

2001-12-09 Thread Ovidiu Predescu
On Sun, 09 Dec 2001 22:00:03 +, MJ Ray <[EMAIL PROTECTED]> wrote: > Stefano Mazzocchi wrote: > >I think not. DSSSL vs. XSLT is a good example of why the lisp-like > >parenthesis syntax in the document-centric world is a bad idea. > > So DSSSL "lost" purely because of parentheses? SGML vs XM

Re: [Vote] Improving Cocoon Site

2001-12-09 Thread Frans Thamura
+ 1 for documentation, and may be add beginner guide for cocoon 2. +1 for compressed mail.. even this is not a high.. - Original Message - From: "Stefano Mazzocchi" <[EMAIL PROTECTED]> To: "Apache Cocoon" <[EMAIL PROTECTED]> Cc: "Ted Leung" <[EMAIL PROTECTED]> Sent: Wednesday, December 0

NullPointerException looking up SAXConnector

2001-12-09 Thread Gerhard Froehlich
Hi, following NullPointerException attracted my attention during tests. Maybe nothing serious, but NullPointerExceptions making me nervous all the time ;). It seems to be that the ComponentManager fails to lookup the implementation of the SAXConnector. This entry in the cocoon.role gives tha

Added Resource Monitor in Cocoon.java

2001-12-09 Thread Gerhard Froehlich
Hi, I implemented the Excalibur Resource Monitor into Cocoon.java. The Resource Monitor observes now the cocoon.xconf file and notifies Cocoon.java, when the file has changed. Cheers Gerhard "Sorry, but my karma just ran over your dogma." patch.diff Description: Binary data

Re: Protocol context: question

2001-12-09 Thread Bernhard Huber
Hi, >>Question 1: Is there any reason why it is not resolved really to the >>servlet context, hence writing >>context://cocoon/foo/bar to resolve to the current cocoon servlet context? >> > >Maybe I don't get what you mean. But in your suggestion you have to know >where the cocoon servlet is depl

Re: [PATCH] Added Resource Monitor in ProgramGeneratorImpl

2001-12-09 Thread giacomo
On Sat, 8 Dec 2001, Gerhard Froehlich wrote: Gerhard I've applied your patch, please cross-check Thanks. Giacomo > Hi, > as promised I started to implement the Excalibur > ActiveMonitor in Cocoon to increase our performance. > > I started at the ProgramGeneratorImpl and this Patch > contains

Re: [RT] Managing Flow and Resources

2001-12-09 Thread MJ Ray
Stefano Mazzocchi wrote: >I think not. DSSSL vs. XSLT is a good example of why the lisp-like >parenthesis syntax in the document-centric world is a bad idea. So DSSSL "lost" purely because of parentheses? SGML vs XML had nothing to do with it? I think you are over-simplifying. [...] >For examp

cvs commit: xml-cocoon2/webapp cocoon.xconf

2001-12-09 Thread giacomo
giacomo 01/12/09 13:36:42 Modified:src/org/apache/cocoon cocoon.roles src/org/apache/cocoon/components/language/generator ProgramGeneratorImpl.java webapp cocoon.xconf Log: Added Resource Monitor in ProgramGeneratorImpl Submi

Re: [patch] i18n transformer update

2001-12-09 Thread giacomo
On Fri, 7 Dec 2001, Marcus Crafter wrote: Patch applied. Please cross-check. Thanks. Giacomo > Hi All, > > Hope all is well. > > Attached is a patch to the I18nTransformer to support transform > time configuration changes. The parameters given at definition time > can n

Re: Protocol context: question

2001-12-09 Thread giacomo
On Fri, 7 Dec 2001, Bernhard Huber wrote: > As I was using the context:// protocol. > The documentation says: > > * context:// - get a resource using the servlet context > > Now it would be better to say get a resource using the current servlet > context. > As context://foo/bar is resolved

cvs commit: xml-cocoon2/src/org/apache/cocoon/transformation I18nTransformer.java

2001-12-09 Thread giacomo
giacomo 01/12/09 13:30:01 Modified:src/org/apache/cocoon/transformation I18nTransformer.java Log: Patched I18nTransformer to support transform time configuration changes. Submitted by: Marcus Crafter <[EMAIL PROTECTED]> Revision ChangesPath 1.24 +52 -8 xml-

Re: [Fwd: Re: [RT] Managing Flow and Resources]

2001-12-09 Thread Ovidiu Predescu
On Sun, 09 Dec 2001 20:06:47 +0100, Michael Hartle <[EMAIL PROTECTED]> wrote: > Ovidiu Predescu wrote: > > >>Another question, is the current abstraction of a sitemap able to allow > >>different principles of sitemaps (current one, scheme-based one, etc.) > >>the admin/developer can choose fro

Re: Branches and CachingxxxPipline enlightenment request!

2001-12-09 Thread giacomo
On Fri, 7 Dec 2001, Sylvain Wallez wrote: > > > Gerhard Froehlich a écrit : > > > > Hi, > > I did 2 checkouts: > > > > 1. HEAD: > > The system is using NonCachingxxxPipelines! I've looked into the > > cocoon.xconf but there are the caching ones configured (cocoon.roles > > don't have any Pipline

Re: [RT] Managing Flow and Resources

2001-12-09 Thread Ovidiu Predescu
On Sun, 9 Dec 2001 17:06:44 +0100 (CET), Torsten Curdt <[EMAIL PROTECTED]> wrote: > On Sun, 9 Dec 2001, Steven Noels wrote: > > > > -Original Message- > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > > Sent: zondag 9 december 2001 1:07 > > > To: Berin Loritsch > > > Cc: [EMAI

Re: [RT] Managing Flow and Resources

2001-12-09 Thread MJ Ray
Torsten Curdt wrote: >Let's stay with the XML syntax! Otherwise would be a step backwards! >Maybe we can work out a different way to combine the current sitemap >with the new flow managing. The schemer would say that XML syntax is a huge step backwards from what already existed... ;-) I think th

RE: Ant: Re: Adding XML searching with Lucene

2001-12-09 Thread John Morrison
> -Original Message- > From: Bernhard Huber [mailto:[EMAIL PROTECTED]] > Sent: Sunday, 09 December 2001 9:18 pm > To: [EMAIL PROTECTED] > Subject: Re: Ant: Re: Adding XML searching with Lucene > > > Hi, > > >Wouldn't pagination be a result of transformation? > > > >First request: > > >

Re: Ant: Re: Adding XML searching with Lucene

2001-12-09 Thread Bernhard Huber
Hi, >Wouldn't pagination be a result of transformation? > >First request: > > > >Next request: > > > >(where 25 and 50 would be replaced with something like pagination * >no_results_to_display) > >no? > I prefer to reduce as much in the Generator that way the xml content is kept small, I think a

Re: Branches and CachingxxxPipline enlightenment request!

2001-12-09 Thread giacomo
On Fri, 7 Dec 2001, Gerhard Froehlich wrote: > Hi, > I did 2 checkouts: > > 1. HEAD: > The system is using NonCachingxxxPipelines! I've looked into the > cocoon.xconf but there are the caching ones configured (cocoon.roles > don't have any Pipline role definition). > > 2. cocoon_20 > The system i

Re: Ant: Re: Adding XML searching with Lucene

2001-12-09 Thread Bernhard Huber
Hi > > http://apache.org/cocoon/search/1.0> > > ... > > > A SearchGenerator: (1) Configure the sitemap: sitemap: (2) add a pipeline: SearchGenerator xml-result: http://apache.org/cocoon/search/1.0"; xmlns:xlink="http://www.w3.org/1999/xlink";> http://l

RE: Ant: Re: Adding XML searching with Lucene

2001-12-09 Thread John Morrison
> -Original Message- > From: giacomo [mailto:[EMAIL PROTECTED]] > > > searching for 'cocoon' would result in something like: > > > > > > > > > > > > > Wouldn't rank be determined by 's position() within > > ? > > Not necessarily. Think about pagination. > Wouldn't pagination be a res

RE: Ant: Re: Adding XML searching with Lucene

2001-12-09 Thread Kevin O'Neill
Hi, Some time ago (back in August) I created a generator that reads the lucene index I created for jmoz (jmoz.sourceforge.net). This is no crawler (as the application uses the dmoz data) but there is a paging interface to a lucene (1.0) dataset. The source code is (http://cvs.sourceforge.net/cg

RE: Ant: Re: Adding XML searching with Lucene

2001-12-09 Thread giacomo
On Sun, 9 Dec 2001, John Morrison wrote: > > -Original Message- > > From: Stefano Mazzocchi [mailto:[EMAIL PROTECTED]] > > Sent: Saturday, 08 December 2001 11:44 pm > > To: [EMAIL PROTECTED] > > Subject: Re: Ant: Re: Adding XML searching with Lucene > > > > > > Bernhard Huber wrote: > > >

Re: Ant: Re: Adding XML searching with Lucene

2001-12-09 Thread giacomo
On Fri, 7 Dec 2001, Bernhard Huber wrote: > Hi, > > > > >But at the same time, it would be nice to have a synchronous way to > >trigger reindexing of recently modified content (say, a page just > >edited). This could be done by calling a specific behavior on the > >'cocoon' component (which is th

Re: Ant: Re: Adding XML searching with Lucene

2001-12-09 Thread giacomo
On Sun, 9 Dec 2001, Stefano Mazzocchi wrote: > Bernhard Huber wrote: > > > >Which leads me to think that making crawling, indexing and searching as > > >Avalon components might be FS since we're not going to use any other > > >implementation of these > > > > > I'm sorry but what means FS? > >

Re: Ant: Re: Adding XML searching with Lucene

2001-12-09 Thread giacomo
On Fri, 7 Dec 2001, Stefano Mazzocchi wrote: > Bernhard Huber wrote: > > > > > I have even thought about that the indexing step may act like the > > > > profiler. Instead of collecting profile data about how long > > > something> takes, update, or create the index information. This > > > way the

Re: Placing a link to Avalon with Cocoon's site.

2001-12-09 Thread Bernhard Huber
hi, seems the url has changed... use http://jakarta.apache.org/avalon/developing/index.html, or http://jakarta.apache.org/avalon/developing-with-avalon.pdf bye bernhard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: Placing a link to Avalon with Cocoon's site.

2001-12-09 Thread giacomo
On Thu, 6 Dec 2001, Berin Loritsch wrote: > Due to the number of Avalon related questions ("How do I embed my own Component?", > "Is method X called before method Y?", etc.), we need to place a link to the > "Developing with Avalon" paper so that most of these questions can be answered > before t

RE: Bug reports

2001-12-09 Thread giacomo
On Thu, 6 Dec 2001, Gerhard Froehlich wrote: > Hi, > same here! Yes, I've seen this as well but IMO the classes mentioned in a xconf file should supercede the default classes from the roles file. Giacomo > > Cheers > Gerhard > > +--+ > My parents hav

Re: [VOTE] directly setting variables in sitemap

2001-12-09 Thread giacomo
On Fri, 7 Dec 2001, Christian Haul wrote: > On 04.Dec.2001 -- 05:45 PM, Sylvain Wallez wrote: > > Stefano Mazzocchi a écrit : > > > > > > Sylvain Wallez wrote: > > > > > > > Why is a new "map:variable" needed ? As for now, map:redirect doesn't > > > > have parameters, but we could define the sema

cvs commit: xml-cocoon2 changes.xml

2001-12-09 Thread gianugo
gianugo 01/12/09 09:08:17 Modified:.changes.xml Log: Forgot to mention the XML:DB pseudo-protocol addition in the changes.xml file. Revision ChangesPath 1.54 +5 -1 xml-cocoon2/changes.xml Index: changes.xml ===

cvs commit: xml-cocoon2/src/org/apache/cocoon/components/source AbstractSAXSource.java XMLDBSource.java XMLDBSourceFactory.java

2001-12-09 Thread gianugo
gianugo 01/12/09 09:05:22 Added: src/org/apache/cocoon/components/source AbstractSAXSource.java XMLDBSource.java XMLDBSourceFactory.java Log: Added the XML:DB pseudo-protocol. Revision ChangesPath 1.1 xm

Re: [RT] Managing Flow and Resources

2001-12-09 Thread Ovidiu Predescu
OK, Steven, we'll have an XML syntax for the sitemap. Ovidiu On Sun, 9 Dec 2001 08:38:02 +0100, "Steven Noels" <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > Sent: zondag 9 december 2001 1:07 > > To: Berin Loritsch > > Cc: [E

Re: [RT] Managing Flow and Resources

2001-12-09 Thread Ovidiu Predescu
On Sun, 09 Dec 2001 18:24:24 +0100, Stefano Mazzocchi <[EMAIL PROTECTED]> wrote: > Ovidiu Predescu wrote: > > > Anyways, here's the way I see now the whole thing right now. The > > sitemap continues to be the main controlling point. However, the > > result of a matching will no longer be a pipel

RE: Relevance boosting with the aid of semantic markup

2001-12-09 Thread Doug Cutting
> From: Stefano Mazzocchi [mailto:[EMAIL PROTECTED]] > > So, architecturally, it could be added to Lucene by making the > vector-space generator pluggable (or at least, extensible). > > What do you think? It's not clear to me what this would entail. For performance, Lucene's vector model is, i

Multiple Namespace Decls.

2001-12-09 Thread Luke Studley
Hi   Wonder if anyone else has seen this   I'm trying to use cinclude, but the same seems to happen for all ns declarations - whether from xsp or read from xml - in the down pipeline processing there are multiple (dual) declarations of each namespace - my editor complains about this and

[Fwd: Re: [RT] Managing Flow and Resources]

2001-12-09 Thread Michael Hartle
--- Begin Message --- Ovidiu Predescu wrote: >>Another question, is the current abstraction of a sitemap able to allow >>different principles of sitemaps (current one, scheme-based one, etc.) >>the admin/developer can choose from depending on his needs ? E.g., I'd >>use the current sitemap

RE: Yup

2001-12-09 Thread Paulo Gaspar
> -Original Message- > From: Stefano Mazzocchi [mailto:[EMAIL PROTECTED]] > Sent: Sunday, December 09, 2001 6:32 PM > > Jon Stevens wrote: > > > > Grep cocoon http://www.webtechniques.com/archives/2001/12/rosenberg/ > > > > -jon > > Thanks for pointing out Jon :) > > Guess that salon.

Re: Yup

2001-12-09 Thread Stefano Mazzocchi
Jon Stevens wrote: > > Grep cocoon http://www.webtechniques.com/archives/2001/12/rosenberg/ > > -jon Thanks for pointing out Jon :) Guess that salon.com would shine in our 'powered by Cocoon' sites, wouldn't it? :) Cool news. -- Stefano Mazzocchi One must still have chaos in oneself to

Re: [RT] Managing Flow and Resources

2001-12-09 Thread Stefano Mazzocchi
Ovidiu Predescu wrote: > Anyways, here's the way I see now the whole thing right now. The > sitemap continues to be the main controlling point. However, the > result of a matching will no longer be a pipeline, but a Scheme > function invocation. In particular, a pipeline will be defined as a > Sc

Re: Ant: Re: Adding XML searching with Lucene

2001-12-09 Thread Bernhard Huber
Hi, Using the avalon components might help to speed up the searching, as I changed the classes to Recyclable, and corrected a bug in the IndexReaderCache -giving me a TooManyOpenedFiles exception. As there will be a lot of clients doing search, it is important to have a fast search, hence: The

RE: [RT] Managing Flow and Resources

2001-12-09 Thread Torsten Curdt
On Sun, 9 Dec 2001, Steven Noels wrote: > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > Sent: zondag 9 december 2001 1:07 > > To: Berin Loritsch > > Cc: [EMAIL PROTECTED]; Michael Hartle > > Subject: Re: [RT] Managing Flow and Resources > > > Regarding th

[PATCH] branch_20 - Making error notification work

2001-12-09 Thread Nicola Ken Barozzi
Same patch as in the previous mail but for the 20 branch. I recommend it if you're having problems in developing because of difficult error messages. Nicola Ken Barozzi These are the days of miracle and wonder... ...so don't cry baby, don't cry <[EMAIL PROTECTED]>

[PATCH] HEAD - Making error notification work

2001-12-09 Thread Nicola Ken Barozzi
As I said in another mail on the list, the Error notification was not finished as originally intended. This is the first patch of a series: - reworked the *Notifier stuff by making it cleaner and putting in in org.apache.cocoon.notification - now exceptions which are Notificable are outputted with

RE: Ant: Re: Adding XML searching with Lucene

2001-12-09 Thread John Morrison
> -Original Message- > From: Stefano Mazzocchi [mailto:[EMAIL PROTECTED]] > Sent: Saturday, 08 December 2001 11:44 pm > To: [EMAIL PROTECTED] > Subject: Re: Ant: Re: Adding XML searching with Lucene > > > Bernhard Huber wrote: > > > >Which leads me to think that making crawling, indexing a

Re: Ant: Re: Adding XML searching with Lucene

2001-12-09 Thread Stefano Mazzocchi
Bernhard Huber wrote: > >Which leads me to think that making crawling, indexing and searching as > >Avalon components might be FS since we're not going to use any other > >implementation of these > > > I'm sorry but what means FS? Flexibility Syndrome: when you want to do more than necessary