RE: [RT] ComponentizedProcessor (was RE: Migrating TreeProcessor to Fortress)

2003-11-12 Thread Carsten Ziegeler
Sylvain Wallez wrote: 2/ Resources inheritance Resources are nothing more than untyped virtual components (yeah Stefano, I know, they should be serializers). So if a resource isn't defined in a sitemap, we go up to the parent sitemap's component manager and lookup the resource there.

Re: GT 2003 talks: audio only example, please test ogg version

2003-11-12 Thread David Crossley
Bertrand Delacretaz wrote: Antonio Gallardo a écrit : ...I would prefer ogg because MP3 has copyright issues. Ok, I have prepared an ogg version of the example, please test on your platforms: http://www.codeconsult.ch/clients/gt2003/00-introduction.ogg I've tested it on macosx with

Re: whitespace cleanup and efficiency drive

2003-11-12 Thread David Crossley
Joerg Heinicke wrote: The result of this thread: let's care only about white spaces. It's my opinion too. But the editor should do this automatically, not by running a task by hand. Agreed. I am adding it to my requirements list, in the search for a new editor. IDEA does it pretty good:

Re: GT 2003 talks: audio only example, please test ogg version

2003-11-12 Thread Antonio Gallardo
Bertrand Delacretaz dijo: Le Mardi, 11 nov 2003, à 12:31 Europe/Zurich, Antonio Gallardo a écrit : ...I would prefer ogg because MP3 has copyright issues. Ok, I have prepared an ogg version of the example, please test on your platforms:

RE: [RT] ComponentizedProcessor (was RE: Migrating TreeProcessor to Fortress)

2003-11-12 Thread Antonio Gallardo
Carsten Ziegeler dijo: Sylvain Wallez wrote: Conclusion -- I'm wondering if we should write this new sitemap engine in the 2.2 branch or if it should go in the 2.1. Fortress isn't a requirement to implement this, and it will allow us to provide views and resource inheritance before

Re: DO NOT REPLY [Bug 23299] - [PATCH] UTFDataFormatException: String cannot be longer than 32k.

2003-11-12 Thread Simon Mieth
On Sat, 08 Nov 2003 18:22:08 +0100 Torsten Curdt [EMAIL PROTECTED] wrote: ...I was wondering - is this a bug of the component that produces the SAX events or the XMLByteStreamCompiler? I mean: now it's ok - but should we silently ignore the problem? Torsten, I don't understand

RE: [RT] ComponentizedProcessor (was RE: Migrating TreeProcessor to Fortress)

2003-11-12 Thread Unico Hommes
-Original Message- From: Sylvain Wallez [mailto:[EMAIL PROTECTED] Sent: dinsdag 11 november 2003 21:48 To: [EMAIL PROTECTED] Hi all, Here's a RT about Unico's proposal of flattening the sitemap for the migration to Fortress. Please read carefully, this has a lot of

Re: DO NOT REPLY [Bug 23299] - [PATCH] UTFDataFormatException: String cannot be longer than 32k.

2003-11-12 Thread Torsten Curdt
We could also increasing the max length of a stored character event in general. ...but that would waste 2 bytes per event. Hm... What do you think? -- Torsten Hi, why should we handle the UTFDataFormat exception, at all?. The last solution ignores this exception, doesn't it? Where is the

Re: WoodyTransformer: radio buttons

2003-11-12 Thread Bruno Dumon
On Tue, 2003-11-11 at 15:15, Vadim Gritsenko wrote: Hey guys, Has anybody have any suggestions on how to make @required=true, wi:styling list-type=radio/, widget make less ugly? Currently it looks like: ( ) Label for the first radio button ( o ) Second ( ) Third * Where *

RE: [RT] ComponentizedProcessor (was RE: Migrating TreeProcessor to Fortress)

2003-11-12 Thread Reinhard Poetz
From: Carsten Ziegeler [mailto:[EMAIL PROTECTED] snip/ I'm wondering if we should write this new sitemap engine in the 2.2 branch or if it should go in the 2.1. Fortress isn't a requirement to implement this, and it will allow us to provide views and resource inheritance before the

Re: DO NOT REPLY [Bug 23299] - [PATCH] UTFDataFormatException: String cannot be longer than 32k.

2003-11-12 Thread Simon Mieth
On Wednesday 12 November 2003 11:37, Torsten Curdt wrote: We could also increasing the max length of a stored character event in general. ...but that would waste 2 bytes per event. Hm... What do you think? -- Torsten Hi, why should we handle the UTFDataFormat exception, at all?.

[OT Re: whitespace cleanup and efficiency drive

2003-11-12 Thread Torsten Curdt
IDEA does it pretty good: Removes trailing spaces when saving a file, replaces existing tabs with spaces on save, when using the key TAB it adds spaces to the file. But unfortunately IDEA is not for free. Ah, others keep mentioning IDEA too. Hm... just wondering if they might give away a

Re: [IMP] Code Freeze

2003-11-12 Thread Stefano Mazzocchi
On 11 Nov 2003, at 19:49, Joerg Heinicke wrote: On 11.11.2003 12:38, Stefano Mazzocchi wrote: Carsten, what is the status of the component proxy? If we have such a big memory leak, I think we should get it solved before doing the release.

Re: DO NOT REPLY [Bug 23299] - [PATCH] UTFDataFormatException: String cannot be longer than 32k.

2003-11-12 Thread Vadim Gritsenko
Torsten Curdt wrote: Well, that true ...but the current length is hold as 15-bit integer. The highest bit decides whether it's an index in a HashMap or not. As I said we could increase the length to 31-bit but that gives 2 additional bytes per character event. ... Let's not discuss this to

Re: DO NOT REPLY [Bug 23299] - [PATCH] UTFDataFormatException: String cannot be longer than 32k.

2003-11-12 Thread Torsten Curdt
Let's not discuss this to death. I'll fix it :) Minor suggestion. 32k events do not happen everyday, but 32k events do, a lot. So, instead of adding size to the 32k events, it's better to add some size to 32k events. What I mean is: 1) Leave length as it is, 2 bytes. 2) Have one value

RE: [VOTE RESULTS] FOM sendStatus/setStatus

2003-11-12 Thread Unico Hommes
-Original Message- From: Unico Hommes Sent: maandag 10 november 2003 12:11 To: [EMAIL PROTECTED] snip/ Sylvain Wallez wrote: Furthermore, I would like this feature to be defined at the environment level and not only in the flowscript. Methods of the cocoon object

Re: [RT] ComponentizedProcessor (was RE: Migrating TreeProcessor to Fortress)

2003-11-12 Thread Sylvain Wallez
Unico Hommes wrote: snip/ 1/ Virtual components Virtual components are sitemap snippets that can be used in place of regular components. I many languages, these are called macros. With sitemap statements as components, virtual components are a breeze to implement: just lookup the component,

[RT] Is flowscript polluting sitemap readability?

2003-11-12 Thread Stefano Mazzocchi
On 11 Nov 2003, at 15:48, Geoff Howard wrote: I'm the same. In fact, I think that flow in some cases needlessly complicates the composition of a pipeline. Now I have to have two pipelines where I used to need one. wait wait wait. hold it. There are different issues on the table here: 1)

Re: [IMP] Code Freeze

2003-11-12 Thread Stefano Mazzocchi
On 11 Nov 2003, at 23:05, Joerg Heinicke wrote: On 11.11.2003 22:31, Carsten Ziegeler wrote: The only question is: do we stick to the release date of thursday? *I* can do the release on thursday or on friday. Due to the ApacheCon and some holidays :) I won't be able to do it in the following

RE: [IMP] Code Freeze

2003-11-12 Thread Reinhard Poetz
From: Stefano Mazzocchi Ah, Carsten, do we have instructions on how to do the release? I can't stop feeling uncomfortable in having you a bottleneck of this process. [not a critic on your great work, but just a thought] http://wiki.cocoondev.org/Wiki.jsp?page=CocoonReleaseHowTo --

Re: [OT Re: whitespace cleanup and efficiency drive

2003-11-12 Thread Antonio Gallardo
Stefano Mazzocchi dijo: I've started to evaluate IDEA as well because eclipse on mach-o is simply not usable if you don't have several GBs of RAM (and I don't) lol. We are using Eclipse and in fact I need to upgrade our 3 machines to 512, 768 and 1024 of RAM respectively. :-D It looks like

Release tomorrow

2003-11-12 Thread Carsten Ziegeler
If noone comes up with an issue or a good reason to not release tomorrow, I will do the release tomorrow in the morning (CET). So, no need to reply if you're +1 for releasing tomorrow :) Thanks Carsten

Re: [RT] ComponentizedProcessor (was RE: Migrating TreeProcessor to Fortress)

2003-11-12 Thread Sylvain Wallez
Stefano Mazzocchi wrote: As a general feeling, I like what I see. A few comments inside. On 12 Nov 2003, at 14:34, Sylvain Wallez wrote: Unico Hommes wrote: snip/ 1/ Virtual components Virtual components are sitemap snippets that can be used in place of regular components. I many languages,

Bastardized URL protocol (was Re: [RT] ComponentizedProcessor)

2003-11-12 Thread Berin Loritsch
Bruno Dumon wrote: On Wed, 2003-11-12 at 12:19, Berin Loritsch wrote: Instead I would highly encourage you to provide a way to set the base URL where relative URLs would be resolved to. Work *with* the contract instead of extending it in non-intuitive ways. See my rant in another email. Again

Re: Woody: moded templates (Re: WoodyTransformer: radio buttons)

2003-11-12 Thread Sylvain Wallez
Joerg Heinicke wrote: On 11.11.2003 15:15, Vadim Gritsenko wrote: BTW, is anybody against replacing xsl:template name=woody-field-common/ with xsl:template match=wi:* mode=common ? It's not possible to override in the including stylesheet named templates, but you can override match=

Re: [OT Re: whitespace cleanup and efficiency drive

2003-11-12 Thread Vadim Gritsenko
Reinhard Poetz wrote: From: Antonio Gallardo Stefano Mazzocchi dijo: I've started to evaluate IDEA as well because eclipse on mach-o is simply not usable if you don't have several GBs of RAM (and I don't) lol. We are using Eclipse and in fact I need to upgrade our 3 machines to

Bastardized URL protocol (Re: [RT] ComponentizedProcessor)

2003-11-12 Thread Sylvain Wallez
(changing the subject also in this branch of the thread to distinguish from other ComponentizedProcessor issues) Berin Loritsch wrote: snip/ Wild idea: context:/ identifies the current context, context:// identifies the root sitemap? Like in cocoon: protocol? *shudder* PLEASE, read this

Re: Building docs fails

2003-11-12 Thread Joerg Heinicke
D:\cocoon-2.1build docs Using Java from D:\jdk1.4.2_01 Buildfile: build.xml prepare: ... Total time: 1 minutes 50 seconds -- Static site generated at: D:\cocoon-2.1/build/cocoon-2.1.3-dev/site Please check the file

Re: Woody: moded templates (Re: WoodyTransformer: radio buttons)

2003-11-12 Thread Joerg Heinicke
On 12.11.2003 17:50, Sylvain Wallez wrote: Joerg Heinicke wrote: On 11.11.2003 15:15, Vadim Gritsenko wrote: BTW, is anybody against replacing xsl:template name=woody-field-common/ with xsl:template match=wi:* mode=common ? It's not possible to override in the including stylesheet named

DO NOT REPLY [Bug 24647] - ResourceReader and non-caching pipelines

2003-11-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24647. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Re: Bastardized URL protocol (was Re: [RT] ComponentizedProcessor)

2003-11-12 Thread Bruno Dumon
On Wed, 2003-11-12 at 12:50, Berin Loritsch wrote: Bruno Dumon wrote: On Wed, 2003-11-12 at 12:19, Berin Loritsch wrote: Instead I would highly encourage you to provide a way to set the base URL where relative URLs would be resolved to. Work *with* the contract instead of extending it

Re: Bastardized URL protocol (Re: [RT] ComponentizedProcessor)

2003-11-12 Thread Berin Loritsch
Antonio Gallardo wrote: Sylvain Wallez dijo: So since we _need_ to be able to specify URLs relative to the current sitemap, what do you suggest? A subprotocol like what we have for cocoon:raw, another protocol like current-sitemap:? Just like Bruno, I'm happy with the cocoon:/ and cocoon:// we

Re: Saving pipeline output to a temp file...everything you wanted to know but were afraid to ask!

2003-11-12 Thread Andrzej Jan Taramina
Sorry Andrzej, but the community has decided with a vote. So it goes. I'll write an action to replace the flowscriptand that will be that. No big deal. I do vote +1 on the idea of a flowscript action...so you can inject javascript logic easily into a Cocoon implementation, without the

DO NOT REPLY [Bug 24647] - ResourceReader and non-caching pipelines

2003-11-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24647. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 24647] - ResourceReader and non-caching pipelines

2003-11-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24647. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 24647] - content-length in ResourceReader

2003-11-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24647. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Re: [RT] Is flowscript polluting sitemap readability?

2003-11-12 Thread Joerg Heinicke
On 12.11.2003 18:14, Andrzej Jan Taramina wrote: Stefano: As a rule, we should restrict everything that we can't come up with a reason to make it possible, then keep listening for people that could come up with those reasons. Everything that is not explicitly allowed is disallowed? Exactly.

Re: [RT] Is flowscript polluting sitemap readability?

2003-11-12 Thread Stefano Mazzocchi
On 12 Nov 2003, at 18:14, Andrzej Jan Taramina wrote: Stefano: As a rule, we should restrict everything that we can't come up with a reason to make it possible, then keep listening for people that could come up with those reasons. Everything that is not explicitly allowed is disallowed? That

Re: [RT] Is flowscript polluting sitemap readability?

2003-11-12 Thread Tony Collen
Andrzej Jan Taramina wrote: Stefano: As a rule, we should restrict everything that we can't come up with a reason to make it possible, then keep listening for people that could come up with those reasons. Everything that is not explicitly allowed is disallowed? That sucks and, IMNSHO, will be

Migrating to Avalon. Thoughts? [was: Re: Random comments and bugfixes]

2003-11-12 Thread Edison Too
Hi, I agree with Stefano's observation that there is a need for a good content repository. I've looked into Slide's code before and I can't help but wonder if it is a good idea for Slide to be implemented using Avalon. The server core can be broken down into 3 blocks 1. Content repository

DO NOT REPLY [Bug 24389] - [PATCH] New ResourceLoadAction

2003-11-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24389. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 24389] - [PATCH] New ResourceLoadAction

2003-11-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24389. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

RE: [OT Re: whitespace cleanup and efficiency drive

2003-11-12 Thread Reinhard Poetz
From: Vadim Gritsenko Reinhard Poetz wrote: From: Antonio Gallardo Stefano Mazzocchi dijo: I've started to evaluate IDEA as well because eclipse on mach-o is simply not usable if you don't have several GBs of RAM (and I don't) lol. We are using Eclipse and in

RE: [OT Re: whitespace cleanup and efficiency drive

2003-11-12 Thread Antonio Gallardo
Reinhard Poetz dijo: From: Vadim Gritsenko Reinhard Poetz wrote: From: Antonio Gallardo Stefano Mazzocchi dijo: I've started to evaluate IDEA as well because eclipse on mach-o is simply not usable if you don't have several GBs of RAM (and I don't) lol. We are using Eclipse

Re: [RT] Is flowscript polluting sitemap readability?

2003-11-12 Thread Stefano Mazzocchi
On 12 Nov 2003, at 19:49, Joerg Heinicke wrote: Only a random thought: why there is no FlowScriptSelector calling the flow script and evaluating the String return type? This would remove the sitemap calls flow script calls sitemap and is more like a function call. You will have only one

Re: [RT] Is flowscript polluting sitemap readability?

2003-11-12 Thread Marc Portier
Stefano Mazzocchi wrote: On 12 Nov 2003, at 19:49, Joerg Heinicke wrote: Only a random thought: why there is no FlowScriptSelector calling the flow script and evaluating the String return type? This would remove the sitemap calls flow script calls sitemap and is more like a function call.

RE: [vote] forbidding flowscripts with no sendpage redirects (was Re: Saving pipeline output to a temp file...)

2003-11-12 Thread Tim Olson
Tim Olson wrote: map:match action=*/profile/edit map:call function=dumpUserData/ map:call function=dumpOrderData/ map:call function=dumpNewsItems/ map:generate src=cocoon://generate/ map:transform src=homePage.xsl/ map:serialize/ /map:match map:match

Re: [vote] forbidding flowscripts with no sendpage redirects (was Re: Saving pipeline output to a temp file...)

2003-11-12 Thread Ugo Cei
Tim Olson wrote: map:match pattern=view map:generate src=cocoon://generate/ map:transform src=homePage.xsl/ map:serialize/ /map:match i thought the original intention was to make the flow clearer? now we have three blocks of code to follow instead of one... Well, almost, you can reuse

Re: [vote] forbidding flowscripts with no sendpage redirects (was Re: Saving pipeline output to a temp file...)

2003-11-12 Thread Andrzej Jan Taramina
Ugo suggested: map:match pattern=*/profile/edit map:call function=dumpData/ /map:match map:match pattern=view map:generate src=cocoon://generate/ map:transform src=homePage.xsl/ map:serialize/ /map:match function dumpData() { dumpUserData();

Revised ResourceLoadAction posted...

2003-11-12 Thread Andrzej Jan Taramina
I've updated my ResourceLoadAction so that it optionally will save the resource stream data (as a string) in your session/request with a given attribute name. The optional write-to and attribute-name parameters, if specified, will cause the ResourceLoadAction do the save. write-to can be

RE: Xalan #13; Problem

2003-11-12 Thread JD Daniels
I found the thread: http://www.mail-archive.com/[EMAIL PROTECTED]/msg03337.html I think it is a bigger problem with xalan But I am clueless :) JD -Original Message- From: JD Daniels [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 1:54 PM To: Cocoon Users Subject: Xalan

Re: Re: Migrating to Avalon. Thoughts?

2003-11-12 Thread aok123
I cannot agree more with Stefano's comment regarding the big-O order of search and access opertions. We need constant time lookup and queries of information regarding the artifacts (the meta data) as well as constant time access to an artifact's content stream regardless of how many artifacts