Re: Automatic upload

2002-03-31 Thread Sergey G. Aslanov
Hi, Alexander In cocoon 2.0.2 you can specify in web.xml request factory, wich can parse your multipart request: request-factory org.apache.cocoon.components.request.MultipartRequestFactoryImpl If you want to turn off automatic uploading, write simple request factory, som

RE: [OT] uneven tags inside XSLT conditionals

2002-03-31 Thread Kirk Woerner
The reason you're getting hung up is actually logical. What if there are an odd number of items? Your logic will produce no which IS invalid... What you need to do is output on every OTHER item and then output the next one if it's there. That way you always have the ending /TR and you generat

cocoon startup trouble

2002-03-31 Thread Harshad . Oak
hi, Am trying to install cocoon 2.0.2 with tomcat 4.0.1..My OS is Win 98 On dumping the war into the webapps directory, Tomcat does the war extraction and stuff perfectly well. However, on providing the URL http://localhost:8080/cocoon , the following is the error i consistently run into.. Has

RE: [OT] uneven tags inside XSLT conditionals

2002-03-31 Thread Andre Cusson
xslt is functional programing, much like LISP, LOGO, SCHEME but this time, parenthesis have been replaced with opening and closing tags... its different, the base for AI, very formal and declarative but very powerful for high level development, sometime a little ackward for simple things, though a

Re: [OT] uneven tags inside XSLT conditionals

2002-03-31 Thread tvon
On Sun, Mar 31, 2002, Andre Cusson wrote: > Vadim is right, you need to write 2 at a time and that is what the 2 loops > do. > ac Yeah, I'm working on it. I'm mostly limited by my lack of knowledge about XSLT, but I'm getting there... > PS: xslt is sometime complex for simple processes and simp

Re: [Newbie] Where do cocoon apps go?

2002-03-31 Thread Robert Leftwich
At 12:32 PM 1/04/2002, Eric de Groot wrote: >I read all the articles and tutorials with the cocoon documentation, but I cannot >find any information telling me how to actually let an app use cocoon. Does the app >need to be in a sub-directory of /webapps/cocoon/ , without it s own web.xml, etc.

RE: [Newbie] Where do cocoon apps go?

2002-03-31 Thread Vadim Gritsenko
Give some more attention to the http://xml.apache.org/cocoon/installing/index.html, "Adding optional components". When reading it, bear in mind that steps to add could be applied (in reverse) if you want to remove components/libs. Once you customized your libs, do "build clean" and "build -Dinclud

Re: compile error on 'xsp-request:get-session-id'

2002-03-31 Thread Dave Covert
Thanks. After pulling down the latest CVS (first time) and rebuilding, I still get the error on xsp-request:get-session-id but using the xsp-session:* is working. I keep getting blank values though. It appears I get the session id once but not after that. Unfortunately, I'll have to come back to t

RE: [OT] uneven tags inside XSLT conditionals

2002-03-31 Thread Andre Cusson
Vadim is right, you need to write 2 at a time and that is what the 2 loops do. ac PS: xslt is sometime complex for simple processes and simple for complex ones ... -Message d'origine- De : Andre Cusson [mailto:[EMAIL PROTECTED]] Envoyé : 31 mars, 2002 13:20 À : [EMAIL PROTECTED] Objet

[Newbie] Where do cocoon apps go?

2002-03-31 Thread Eric de Groot
Title: [Newbie] Where do cocoon apps go? I read all the articles and tutorials with the cocoon documentation, but I cannot find any information telling me how to actually let an app use cocoon.  Does the app need to be in a sub-directory of /webapps/cocoon/ , without it’s own web.xml, etc..?  Ho

RE: OutOfMemoryError compiling sitemap with Cocoon 2.0.2 #2

2002-03-31 Thread Luca Morandini
Vadim. it's not a single portion of sub-sitemap which cause the error. I did a bit of testing and it went like this: 1) I removed the most of the sub-sitemap contents 2) I compiled it... just fine 3) I re-inserted a bit of the old sub-sitemap 4) I compiled it... just fine (I repeated step 3 and

Re: Bug in TreeProcessor?

2002-03-31 Thread Sylvain Wallez
Lai, Harry wrote: >Hi all, > >So it looks like Cocoon 2.0.2 fixes the bug described below. Unfortunately, >when I try using the TreeProcessor, this bug reappears. Has anyone else >seen this? > >Harry > Yes, this is a bug in TreeProcessor. Thanks for reporting, it's fixed in the latest CVS. S

RE: 2.0.2 protected area - no longer works out of the box

2002-03-31 Thread Christopher Watson
Vadim I just popped the CVS AbstractValidatorAction.java into the 2.0.2 dist source and rebuild it (installscratchpadwar, jdk1.3.1, tomcat 4.0.1, winNT) That appears to have fixed it Many Thanks Christopher Watson > -Original Message- > From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] > Se

RE: [OT] uneven tags inside XSLT conditionals

2002-03-31 Thread Andre Cusson
sorry, also drop the in one of the two (when/otherwise) ac -Message d'origine- De : Andre Cusson [mailto:[EMAIL PROTECTED]] Envoyé : 31 mars, 2002 13:16 À : [EMAIL PROTECTED] Objet : RE: [OT] uneven tags inside XSLT conditionals How about adding a at the end of the when clause and a

RE: [OT] uneven tags inside XSLT conditionals

2002-03-31 Thread Andre Cusson
How about adding a at the end of the when clause and adding a at the start of the otherwise clause. ac -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Envoyé : 31 mars, 2002 11:16 À : [EMAIL PROTECTED] Objet : [OT] uneven tags inside XSLT conditionals Hey, I

RE: [OT] uneven tags inside XSLT conditionals

2002-03-31 Thread Vadim Gritsenko
You should rephrase your loop as two loops. In java it would be: for(int i=0; i for(int j=0; j } } This is possible in XSLT. Regards, Vadim > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > On Sun, Mar 17, 2002, Sreedhar Chintalapaty wrote: > > Tom, > > > > I

RE: Possible error in 2.0.2 xsp.xsl (incompatible with Saxon 6.5)

2002-03-31 Thread Vadim Gritsenko
Harry, Michael, Bug is fixed in the CVS. Now it should work Ok with Saxon (please test if you can) Thanks, Vadim > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > > Harry, > > Match attributes must conform to pattern specification. Quoting from Alan > Kay's > XSLT Programmers Referen

Re: [OT] uneven tags inside XSLT conditionals

2002-03-31 Thread tvon
On Sun, Mar 17, 2002, Sreedhar Chintalapaty wrote: > Tom, > > It's not clear what how you want to differentiate between when and > otherwise, so my answer may be way off; however, if you want to > differentiate at the cell () level, then try with the tags outside Sorry I wasnt clear. the "posi

RE: compile error on 'xsp-request:get-session-id'

2002-03-31 Thread Vadim Gritsenko
Fixed in the CVS. However, I recommend to use xsp-session:get-id instead of xsp-request. Vadim > From: Dave Covert [mailto:[EMAIL PROTECTED]] > > Hi- > > > I was playing with the session example (in > http://xml.apache.org/cocoon/userdocs/xsp/sessions.html). > After getting it to partially wo

RE: [OT] uneven tags inside XSLT conditionals

2002-03-31 Thread Sreedhar Chintalapaty
Tom, It's not clear what how you want to differentiate between when and otherwise, so my answer may be way off; however, if you want to differentiate at the cell () level, then try with the tags outside the test:

[OT] uneven tags inside XSLT conditionals

2002-03-31 Thread tvon
Hey, I've done some googling and I cant find the answer to this. I basically want to do:

RE: Problem running Cocoon 2.0.2

2002-03-31 Thread Vadim Gritsenko
Delete tomcat/work directory and try again. Vadim > From: Steve D'Amico [mailto:[EMAIL PROTECTED]] > > I downloaded the Cocoon 2.0.2 binary zip and get a fatal error when I try to > run the application after installing the WAR with Tomcat 4.0.1 on Windows > 2000 Pro using JDK 1.3. I found noth

XInclude - optimization/alternatives to

2002-03-31 Thread Sreedhar Chintalapaty
Title: Glacier Hi all,   I am using XInclude to process a content page and place the title, author, and article into different cells in a table.   Content File: featuredArticle.xml

Re: Why isn't Cocoon making into the commerical world?

2002-03-31 Thread Peter Robins
I agree with you, but this is a common problem with open-source software. I have exactly the same problem with many of the programs in the Linux world - brilliant pieces of software produced by people with quite extraordinary dedication, but very badly presented/'marketed'. As a breed, programm

compile error on 'xsp-request:get-session-id'

2002-03-31 Thread Dave Covert
Hi- I was playing with the session example (in http://xml.apache.org/cocoon/userdocs/xsp/sessions.html). After getting it to partially work. I made a change to get the 'xsp-request:get-session-id' (see below) and received this error: Original exception : org.apache.cocoon.components.language.Lan