Wow,
realy great work. It is very cool!
Dumon, do you think we could add it to the cocoon2 project?
This tool would raise a lot of attraction to cocoon2 and the whole cocoon2
community could help developing it.
Carsten
Open Source GroupsunShine - b:Integrated
On Mon, 2 Jul 2001 [EMAIL PROTECTED] wrote:
> > I'm not 100% sure, but it looks like the current
> > SAX2DTM code expects to be passed both, and I can imagine that Cocoon
> might
> > be trying to take the shortcut...
>
> The code should work fine if passed only startPrefixMapping and
> endPrefixM
cziegeler01/07/05 23:37:02
Modified:lib xalan-2.2.0-dev.jar
Log:
Latest xerces release and latest cvs xalan
Revision ChangesPath
1.3 +798 -823 xml-cocoon2/lib/xalan-2.2.0-dev.jar
<>
---
cziegeler01/07/05 23:31:22
Modified:lib Tag: cocoon_20_branch xalan-2.2.0-dev.jar
Added: lib Tag: cocoon_20_branch xerces_1_4_1.jar
Removed: lib Tag: cocoon_20_branch xerces_1_4_0.jar
Log:
Latest xerces release and latest cvs xalan
Revision Changes
Hi -
I've got a problem with C2 which _seems_ to be to do with XSL
tranformations.
I'm running C2.1 dev (last week's build), with Tomcat 3.2.1 on NT (P3
500mhz, 256mb RAM, 6gb disk). I also have C1.8.2 set up on the same
machine, also running under Tomcat 3.2.1, which I have been using for
comp
> Donald Ball wrote:
>
> On Thu, 5 Jul 2001, Sergio Carvalho wrote:
>
> > Wouldn't this break streaming? i.e. producing output even when only
> > part of the result has been processed? Streaming buys you some
> > processing time if you have 'heavy' pages, but still want to follow
> > the rule of t
Regarding this issue I think we should simply add the handling of
the parameter values to Giacomo's patch.
Carsten
> -Ursprungliche Nachricht-
> Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 5. Juli 2001 23:13
> An: [EMAIL PROTECTED]
> Betreff: RE: Caching Issu
hey guys. when i try to issue a sitemap redirect using
tomcat-4.0b5+apache, i get this exception:
java.lang.IllegalArgumentException:
tables/trouble_ticket_table/query?clause=active&clause=for-employee at
org.apache.catalina.connector.HttpResponseBase.toAbsolute(HttpResponseBase.java:673)
at
org.
On Thu, 5 Jul 2001, Michael Hartle wrote:
> >although this brings up a secondary issue - should the Environment class
> >provide a abstract method to create cookies? theoretically, my
> >cookie-creating-component shouldn't have to assume that it's operating on
> >an Http request...
> >
> AFAIK,
On Thu, 5 Jul 2001, Sergio Carvalho wrote:
> Wouldn't this break streaming? i.e. producing output even when only
> part of the result has been processed? Streaming buys you some
> processing time if you have 'heavy' pages, but still want to follow
> the rule of thumb of producing some feedback in
vgritsenko01/07/05 14:47:50
Modified:.changes.xml
Log:
change log
Revision ChangesPath
1.16 +15 -1 xml-cocoon2/changes.xml
Index: changes.xml
===
RCS file: /home/cvs/xml-cocoon2/cha
vgritsenko01/07/05 14:46:01
Modified:.Tag: cocoon_20_branch changes.xml
Log:
change log
Revision ChangesPath
No revision
No revision
1.2.2.15 +15 -1 xml-cocoon2/changes.xml
Index: changes.xml
===
Donald Ball wrote:
>although this brings up a secondary issue - should the Environment class
>provide a abstract method to create cookies? theoretically, my
>cookie-creating-component shouldn't have to assume that it's operating on
>an Http request...
>
AFAIK, Cookies are specific to HTTP, so th
On Thu, 5 Jul 2001 14:49:28 +0200, "Carsten Ziegeler" <[EMAIL PROTECTED]> wrote:
--
> Hi,
>
> I am currently thinking since some weeks of the following enhancement:
>
> Creating an intermediate output stream for the response and not directly
> writing to the output stream of the servlet engine (
vgritsenko01/07/05 14:18:55
Modified:src/org/apache/cocoon/util Tag: cocoon_20_branch
ClassUtils.java
Log:
remove unnessesary getCanonicalPath
Revision ChangesPath
No revision
No revision
1.7.2.1
vgritsenko01/07/05 14:17:41
Modified:src/org/apache/cocoon/util ClassUtils.java
Log:
remove unnessesary getCanonicalPath
Revision ChangesPath
1.8 +2 -2 xml-cocoon2/src/org/apache/cocoon/util/ClassUtils.java
Index: ClassUtils.java
===
Hi Marcus,
>
> Hi Vadim,
>
> On Thu, 5 Jul 2001, Vadim Gritsenko wrote:
>
> > I think I found the problem: I overlooked that fact that when printing the error,
>jikes sometimes
> > inserts empty string. This should be fixed now. Please test - hope last time.
>
> Looks good. I get the s
> -Original Message-
> From: Donald Ball [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 05, 2001 14:16
> To: Cocoon Developers
> Subject: Re: Caching Issues; was: cvs commit:
>xml-cocoon2/src/org/apache/cocoon/transformation TraxTransformer.java
>
>
> On Thu, 5 Jul 2001, Vadim Gritse
vgritsenko01/07/05 14:03:28
Modified:src/org/apache/cocoon/components/language/programming/java
Jikes.java
Log:
another small fix
Revision ChangesPath
1.5 +5 -2
xml-cocoon2/src/org/apache/cocoon/components/language/programming/java/Jik
vgritsenko01/07/05 14:01:41
Modified:src/org/apache/cocoon/components/language/programming/java
Tag: cocoon_20_branch Jikes.java
Log:
another small fix
Revision ChangesPath
No revision
No revision
> Great work! I was expecting something like that someday.
> Just a few comments and suggestions:
> - in my opinion, the tree view is too colored, although
> every color has
> its meaning. Maybe in future it would be better to use some
> icons to show
> the type of the node?
after a while
On Thu, 5 Jul 2001, Uyttenhove Jan wrote:
> I used cookies, had some problems, but finally, it worked.
> How do you set your cookies?
Cookie cookie = new HttpCookie(name,value);
response.addCookie(cookie);
after some more fiddling around, it's working, dunno what i did to fix it,
but oh well.
Hi Vadim,
On Thu, 5 Jul 2001, Vadim Gritsenko wrote:
> I think I found the problem: I overlooked that fact that when printing the error,
>jikes sometimes
> inserts empty string. This should be fixed now. Please test - hope last time.
Looks good. I get the same output.
> > I had ex
On Thu, 5 Jul 2001, Vadim Gritsenko wrote:
> Can you do just quick check on your JDK - how looks result of Map.toString()?
> My results:
> {a=b, x=y} under Win / VAge3.5, JDK 1.2.2-0
> {x=y, a=b} under Win / Sun JDK 1.3.0-C
> for the same code.
well, so much for that theory. i filled a
On Thu, 5 Jul 2001, Vadim Gritsenko wrote:
> I do think that newly introduced behaviour is might be desirable in
> some cases, but I also want to have an opportunity to use previous
> one. I do propose to introduce new parameter for TraxTransformer,
> something like _useParametersValues. Other so
Marcus,
I think I found the problem: I overlooked that fact that when printing the error,
jikes sometimes
inserts empty string. This should be fixed now. Please test - hope last time.
> I had explicitly set 'line' to null so the first readline would always
> be executed (check the
> -Original Message-
> From: Donald Ball [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 05, 2001 14:02
> To: [EMAIL PROTECTED]
> Subject: Re: AW: Caching Issues; was: cvs commit:
>xml-cocoon2/src/org/apache/cocoon/transformation
> TraxTransformer.java
>
>
> On Thu, 5 Jul 2001, Carst
On Thu, 5 Jul 2001, Carsten Ziegeler wrote:
> Creating an intermediate output stream for the response and not directly
> writing to the output stream of the servlet engine (or the environment).
>
> This would solve the following problems:
> 1. The output stream can be reset at any time, making re
On Thu, 5 Jul 2001, Carsten Ziegeler wrote:
> Now I understand your problem. Quick thinking, I would say that
> the generated key not only contains the parameter names but
> the parameter values as well. I think this is ok, as you could
> say that the file name of the xsl file is a paramter named
vgritsenko01/07/05 10:57:55
Modified:src/org/apache/cocoon/components/language/programming/java
Tag: cocoon_20_branch Jikes.java
Log:
fix errors in error parsing code
Revision ChangesPath
No revision
No
vgritsenko01/07/05 10:56:45
Modified:src/org/apache/cocoon/components/language/programming/java
Jikes.java
Log:
fix errors in error parsing code
Revision ChangesPath
1.4 +7 -2
xml-cocoon2/src/org/apache/cocoon/components/language/progr
Currently the pipeline in the sitemat is "closed" by the fact that it has
very well defined end - serializer finishing the processing and streaming
the results to the response stream.
I see great deal in allowing the pipeline to be "open" and making the
redirections to other "processors" possible.
On Thu, 5 Jul 2001, Stuart Roebuck wrote:
> I'm not a ClassUtils expert, but seeing as getCanonicalPath optimization
> is important to me I feel I should encourage this thread!
>
> As far as I can see there shouldn't be any need for getCanonicalPath() in
> this method, however, I'm not sure that
>> This is my XML code:
>> --
>> > laguage="java"
>> xmlns:xsp="http://www.apache.org/1999/XSP/Core";
>> xmlns:esql="http://apache.org/cocoon/SQL/v2";
>> >
>>...
>>
>> org.gjt.mm.mysql.Driver
>> jdbc:mysql://localhost/test
>> fku
>>
>>
Hi Vadim,
On Thu, 5 Jul 2001, Vadim Gritsenko wrote:
> Done.
>
> Marcus, would you mind testing it one more time?
No problem. We'll get there eventually! :-)
ERROR 14921 [cocoon ] (Thread-25): Error compiling sitemap
java.util.NoSuchElementException
at java.util.
Berin Loritsch wrote:
>
> Carsten Ziegeler wrote:
> >
> > I just tested this with the latest cvs and it is not working anymore.
>
> Try it now. I will update 2.1 branch as soon as CVS is done updating.
Done.
>
> >
> > Can anyone fix this?
> >
> > Carsten
> >
> > Open Source Group
bloritsch01/07/05 09:45:27
Modified:src/org/apache/cocoon cocoon.roles
src/org/apache/cocoon/components/language/generator
ProgramGeneratorImpl.java
webapp cocoon.xconf
Log:
Update ProgramGenerator to handle pre-compiled sites
Carsten Ziegeler wrote:
>
> I just tested this with the latest cvs and it is not working anymore.
Try it now. I will update 2.1 branch as soon as CVS is done updating.
>
> Can anyone fix this?
>
> Carsten
>
> Open Source GroupsunShine - b:Integrated
> ===
bloritsch01/07/05 09:35:56
Modified:src/org/apache/cocoon Tag: cocoon_20_branch cocoon.roles
src/org/apache/cocoon/components/language/generator Tag:
cocoon_20_branch ProgramGeneratorImpl.java
webapp Tag: cocoon_20_branch cocoon.xc
Thomas Klement a écrit :
>
> Hi,
>
> I wonder if there is a way to process xml fragments with logicsheets. For
> instance, I want to insert the fragment "person" in the following example
> into a xml database using a logicsheet (that processes xmldb:insertFragment)
> in conjunction with a help
Hi Carsten,
I think you got it right. Shall we revert generateKey method to use map.toString()
back?
Or add some kind of parameter ("to cache or not to cache") to transformer?
Vadim
> -Original Message-
> From: Carsten Ziegeler [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 05, 2001
Dear cocooners,
Here is first try to implement profiler, checked in into HEAD branch. To use:
1) Configure cocoon.xconf:
2) Configure sitemap:
...
...
3) Try http://localhost/cocoon/profile several times
Feedback is really appreciated,
Thanks
vgritsenko01/07/05 08:38:01
Added: webapp/stylesheets/system profile2html.xsl
Log:
Stylesheet to show profiler results
Revision ChangesPath
1.1 xml-cocoon2/webapp/stylesheets/system/profile2html.xsl
Index: profile2html.xsl
==
vgritsenko01/07/05 08:33:19
Modified:src/org/apache/cocoon cocoon.roles
Log:
Added profiler role
Revision ChangesPath
1.13 +4 -0 xml-cocoon2/src/org/apache/cocoon/cocoon.roles
Index: cocoon.roles
==
Hi Vadim,
sorry I am little bit confused today by the heat in this office.
Now I understand your problem. Quick thinking, I would say that
the generated key not only contains the parameter names but
the parameter values as well. I think this is ok, as you could
say that the file name of the xsl
vgritsenko01/07/05 08:03:28
Added: src/org/apache/cocoon/components/profiler Profiler.java
ProfilerData.java ProfilerGenerator.java
ProfilerResult.java
ProfilingCachingEventPipeline.java
Pr
vgritsenko01/07/05 08:01:25
xml-cocoon2/src/org/apache/cocoon/components/profiler - New directory
--
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
Hi,
I wonder if there is a way to process xml fragments with logicsheets. For
instance, I want to insert the fragment "person" in the following example
into a xml database using a logicsheet (that processes xmldb:insertFragment)
in conjunction with a helper class.
Thoma
Vadim Gritsenko wrote:
>
> Berin,
>
> One question though...
>
> It constists from:
> - central profiler component,
> - sax connector,
> - extended event pipeline,
> - profiler generator,
> - and one stylesheet to present results :)
>
> Shall I put everything in one package (**.cocoon.pro
> Maciek Kaminski wrote:
>
> On 5 Jul 2001, at 15:10, Carsten Ziegeler wrote:
>
> > Ahh, now I understand the trick! You assume (correctly) that
> > the underlying xml document used by the generator has not
> > changed, so you could use the old values of the validity
> > object. Ok, this should
Berin,
One question though...
It constists from:
- central profiler component,
- sax connector,
- extended event pipeline,
- profiler generator,
- and one stylesheet to present results :)
Shall I put everything in one package (**.cocoon.profiler), or split
across packages (**.generation, *
> Vadim Gritsenko wrote:
>
> Carsten,
>
> After you added "cocoon:" protocol, caching does not work anymore for
> aggregated pipelines. Do you have any plans on reviving this feature?
>
Yes, of course - but unfortunately time is currently very limited.
So if someone else wants to go with this..
Done.
Marcus, would you mind testing it one more time?
Thanks,
Vadim
> -Original Message-
> From: Carsten Ziegeler [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 04, 2001 8:08
> To: [EMAIL PROTECTED]
> Subject: AW: [C2 patch] Jikes 1.14
>
>
> > Marcus Crafter wrote:
> >
> > Hi Va
Carsten,
After you added "cocoon:" protocol, caching does not work anymore for
aggregated pipelines. Do you have any plans on reviving this feature?
Thanks,
Vadim
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
I also think that should be configurable feature.
+1 if it's configurable,
+10 if it's configurable per
PS: I do remember somebody wanted "streaming" behaviour for cocoon, i.e. cocoon outputs
result when generation is not finished yet. We should keep this ability.
Vadim
> -Original Messag
Carsten, Giacomo,
I don't know what to say... But let's look at an example.
Suppose you have an XML data and an XSLT to present it.
Obviously, you might have at least two variants to present this data,
and user chooses one he likes. From URL point of view, it might look like
http://host/cocoon/da
> Hi,
>
> I am currently thinking since some weeks of the following enhancement:
>
> Creating an intermediate output stream for the response and not directly
> writing to the output stream of the servlet engine (or the environment).
>
> This would solve the following problems:
> 1. The output stre
On 5 Jul 2001, at 15:10, Carsten Ziegeler wrote:
> Ahh, now I understand the trick! You assume (correctly) that
> the underlying xml document used by the generator has not
> changed, so you could use the old values of the validity
> object. Ok, this should work.
>
> Sorry for being so blind.
>
Hi Dumon,
On Thu, 5 Jul 2001, Dumon Bruno wrote:
> I've been busy lately writing a program which ended up being usefull as a
> sitemap editor.
>
> It shows the sitemap-structure in a very flashy and colorfull kind of tree
> widget, complete with drag-and-drop, unlimited undo, etc.
>
> It can b
cziegeler01/07/05 06:33:57
Modified:src/org/apache/cocoon/xml/dom Tag: cocoon_20_branch
DOMStreamer.java
Log:
Rewritten DOMStreamer. It uses now the trax API instead of an own logic
Revision ChangesPath
No revision
No
cziegeler01/07/05 06:33:04
Modified:src/org/apache/cocoon/xml/dom DOMStreamer.java
Log:
Rewritten DOMStreamer. It uses now the trax API instead of an own logic
Revision ChangesPath
1.3 +32 -205 xml-cocoon2/src/org/apache/cocoon/xml/dom/DOMStreamer.java
Index
> Hi cocoon dudes,
>
> I've been busy lately writing a program which ended up being usefull as a
> sitemap editor.
>
> It shows the sitemap-structure in a very flashy and colorfull kind of tree
> widget, complete with drag-and-drop, unlimited undo, etc.
>
> It can be downloaded from:
> http://oute
Ahh, now I understand the trick! You assume (correctly) that
the underlying xml document used by the generator has not
changed, so you could use the old values of the validity
object. Ok, this should work.
Sorry for being so blind.
Carsten
> -Ursprungliche Nachricht-
> Von: [EMAIL PROTE
> Hi,
>
> I am currently thinking since some weeks of the following enhancement:
>
> Creating an intermediate output stream for the response and not directly
> writing to the output stream of the servlet engine (or the environment).
>
> This would solve the following problems:
> 1. The output s
"Morrison, John" wrote:
>
> Hi All,
>
> I *know* I really should have written some of these before now but... All
> the documentation refers to C1 use of logicsheets. How do I tell C2 one
> exists and where is the best place to put the xslt (ie somewhere under
> WEB-INF)?
I usually place my cu
On 5 Jul 2001, at 14:17, Carsten Ziegeler wrote:
> Hi,
>
> are you sure that the CachingCIncludeTransformer is really working?
> As far as I see the validity object gets all its information when
> the first response is generated (the timestamps are added).
> This hack works.
>
> But when the se
Donald Ball wrote:
>
> On Mon, 2 Jul 2001, Berin Loritsch wrote:
>
> > > heya. i recently got my tomcat-catalina and my apache talking to each
> > > other, hurrah. i took the opportunity to load test my cocoon webapp.
> > > overall, it held up pretty nicely, but when i cranked up the concurrency
Hi,
I am currently thinking since some weeks of the following enhancement:
Creating an intermediate output stream for the response and not directly
writing to the output stream of the servlet engine (or the environment).
This would solve the following problems:
1. The output stream can be reset
> Hi cocoon dudes,
>
> I've been busy lately writing a program which ended up being usefull as a
> sitemap editor.
>
> It shows the sitemap-structure in a very flashy and colorfull kind of tree
> widget, complete with drag-and-drop, unlimited undo, etc.
>
> It can be downloaded from:
> http://o
On 5 Jul 2001, at 10:27, Carsten Ziegeler wrote:
> Hi,
>
> with the current caching algorithm implemented in Cocoon2 it is
> not possible to cache either the CInludeTransformer nor the
> XIncludeTransformer.
>
It is possible, although hacky.
> Why is this so?
>
> Before the sax stream is gen
Hi,
are you sure that the CachingCIncludeTransformer is really working?
As far as I see the validity object gets all its information when
the first response is generated (the timestamps are added).
This hack works.
But when the second response comes in, the new validity object
for this response
Hi cocoon dudes,
I've been busy lately writing a program which ended up being usefull as a
sitemap editor.
It shows the sitemap-structure in a very flashy and colorfull kind of tree
widget, complete with drag-and-drop, unlimited undo, etc.
It can be downloaded from:
http://outerthought.org/coco
> > > And a second: I downloaded your example from ulim/iebug and
> experimented
> > > a bit with it. If i save the generatet pdf in a file and put it in
> the
> > > same directory and call it, it works in all browsers, including IE
> 5.5.
> > > How do you explan this? There should be no differenc
IOUtils.getFullFilename is defined as:
> public static String getFullFilename(File file) {
> try {
> return file.getCanonicalPath();
> } catch (Exception e) {
>
>
>Hierarchy.getDefaultHierarchy().getLoggerFor("cocoon").debug("IOUtils.getFullFilename"
> , e);
> return
I'm not a ClassUtils expert, but seeing as getCanonicalPath optimization
is important to me I feel I should encourage this thread!
As far as I can see there shouldn't be any need for getCanonicalPath() in
this method, however, I'm not sure that ClassUtils.lastModified is used by
Cocoon at the
cziegeler01/07/05 02:11:59
Modified:src/org/apache/cocoon/xml/dom DOMStreamer.java
Log:
Fixed element and attribute handling of namespaces
Revision ChangesPath
1.2 +10 -10xml-cocoon2/src/org/apache/cocoon/xml/dom/DOMStreamer.java
Index: DOMStreamer.java
cziegeler01/07/05 02:11:26
Modified:src/org/apache/cocoon/xml/dom Tag: cocoon_20_branch
DOMStreamer.java
Log:
Fixed element and attribute handling of namespaces
Revision ChangesPath
No revision
No revisi
Donald,
I used cookies, had some problems, but finally, it worked.
How do you set your cookies?
(I noticed I had to use the Cookie.setPath(String) method to be able to get
the cookies from the request.)
Jan
Jan Uyttenhove
Software Engineer
The e-Corporation
http://www.the-ecorp.com
-Origi
Hi,
with the current caching algorithm implemented in Cocoon2 it is
not possible to cache either the CInludeTransformer nor the
XIncludeTransformer.
Why is this so?
Before the sax stream is generated (before the generator starts
reading its xml document), the caching algorithm builds the
key an
79 matches
Mail list logo