NullPointerException with action-sets

2003-06-03 Thread Erwin van der Koogh
is there something I missed in the documentation? Is it not possibleto nest parameters in an action within an action-set? Thanks, Erwin Exception thrown: Original Exception: java.lang.NullPointerExceptionat org.apache.cocoon.components.treeprocessor.CategoryNodeBuilder.getNamedNode

Re: NullPointerException with action-sets

2003-06-03 Thread Erwin van der Koogh
this. Would it be possible to put this somewhere in the action documentation with a link to the bugzilla bug? Thanks for the reply though, Erwin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Redirection with URL parameters

2002-05-10 Thread Erwin
Hi all, I generate a URL of the following form: http://localhost:8080/cocoon/tekst/thesis/?chapter=N10134 In the sitemap tekst/thesis/ is redirected to tekst/thesis/index.html but by doing this the URL parameters are lost (I use map:redirect-to). I have hacked a solution into my xslt bij

Re: Redirection with URL parameters

2002-05-10 Thread Erwin
On Fri, 10 May 2002, Erwin wrote: Hi all, I generate a URL of the following form: http://localhost:8080/cocoon/tekst/thesis/?chapter=N10134 In the sitemap tekst/thesis/ is redirected to tekst/thesis/index.html but by doing this the URL parameters are lost (I use map:redirect-to). I have

Re: Multiple independent XSLT transforms applied to one XML file.

2002-04-30 Thread Erwin
On Tue, 30 Apr 2002, Fabricio Chalub wrote: Hello, I suppose this is the kind of email that possibly reflects a deep misunderstanding of the basic principles on which Cocoon relies. If that is the case, just warn me. ;) The simple question is: Using Cocoon (possibly through the sitemap),

Re: Closure and feedback ... Re: Sub sitemap pains

2002-04-27 Thread Erwin
On Fri, 26 Apr 2002, Conrad F. D'Cruz wrote: One area of confusion is the use of the * and ** ... is it just my imagination that * in a sitemap does not mean the same as * in a regular expression (expands to match zero or more characters???) ... there used to be a page that described that

[OT] Alternative to FOP?

2002-04-26 Thread Erwin
Hi all, does anybody know if there is an alternative to FOP? I have been using FOP for about a half year now, and recently started experimenting with images in my pdf, but the images always come out wrong (i.e. stretched to the width of the page), no matter what I try. So, I want to know if

Re: Pure txt as ouput

2002-04-24 Thread Erwin
On Fri, 19 Apr 2002, Ariel Bender wrote: Hi all. I'm a newbie in these technologies, and I've got a problem that I don't know how to resolve. May be be someone can help me. I am using cocoon1, xml, xsl... I want to get a pure txt as output file, obviosly whithout a hedar, and also with no

Re: DTD for the sitemap

2002-04-23 Thread Erwin
On Tue, 23 Apr 2002, neil wrote: Has anyone come up with a reasonably rigorous DTD for the sitemap? I know its been talked about at various times, but I haven't found one yet. I've cobbled together the following DTD, which I find handy with emacs xml (psgml) mode. It handles the cocoon-2.0.2

Re: Problems serving pdf files

2002-04-20 Thread Erwin
this by stopping Tomcat/Cocoon, cleaning the Tomcat work directory and restarting Tomcat/Cocoon. Magic? Some randomly occurring bug (since I am not the only one having had this problem)? I hope this solution solves this problem, only one way to find out. Erwin

Re: pdf transformation and xml file sizes

2002-04-16 Thread Erwin
On Tue, 16 Apr 2002, Lajos Moczar wrote: In my experience, it is memory that is the key factor. Running with 512MB allocated to the JVM, I can produce 53 pages of PDF, but no more. I would have thought that SAX-based processing would allow you to process as much as you want, but obviously

Re: Problems serving pdf files

2002-04-15 Thread Erwin
On Mon, 15 Apr 2002, Mike Dewar wrote: For small files this works fine, but larger pdf files get truncated to 122880 bytes. Can anybody tell me what I'm doing wrong and suggest a fix? My guess is that java then takes up the maximum allowed heapsize. If you check to logs, you will probably

Re: Error when deploying own generator [solved]

2002-03-28 Thread Erwin
On Thu, 28 Mar 2002, Erwin wrote: On Thu, 28 Mar 2002, Christian Schmitt wrote: Erwin, have you tried to put your classes in $TOMCAT_HOME/webapps/cocoon/WEB-INF/classes Or do I also have to place all the class files of Cocoon 2 self in that classes-directory? (Seems odd to me, since

[C2] Sitemap questions

2002-03-26 Thread Erwin
Hello, for my thesis I have studied Cocoon 2 and am now writing a chapter about it. At the moment I am writing a section about the sitemap, but I still have some (theoretical) questions about it. (as this is my first post to the list, I hope this is the right place to ask) I downloaded the

Re: Cocoon2, SOAP: How to process xml-content?

2002-03-18 Thread Erwin Burgstaller
William, you brought me to the right direction. Erwin PS.: For completeness, this is the part of the apache configuration for the service: Location /mod_soap SetHandler perl-script PerlHandler MySOAP PerlSetVar dispatch_to /usr/local/lib/site_perl, /usr/share/perl/5.6.1, /usr/share/perl5

Re: Cocoon2, SOAP: How to process xml-content?

2002-03-15 Thread Erwin Burgstaller
On Fri, Mar 15, 2002 at 08:01:32AM +0100, Erwin Burgstaller wrote: Apache::SOAP. So I hope I will find how to configure the service to return an org.w3c.dom.Element, will I? Ok, I've got the service to write: [..] SOAP-ENV:Body list_allResponse SOAP-ENV:encodingStyle=http://xml.apache.org/xml

Cocoon2, SOAP: How to process xml-content?

2002-03-14 Thread Erwin Burgstaller
prohibit the xml-code to be converted to text, or how can transform it back to xml to be processed by a stylesheet later. The intention is to handle it like files with xinclude. Thanks, Erwin - Please check that your question

cocoon2: Error compiling sitemap

2002-03-12 Thread Erwin Burgstaller
What I'm doing wrong? I have Linux, JBoss 2.4.4, Tomcat 3.2.3 and the latest Cocoon source out of the CVS repository. I've tried with 'Blackdown Java (latest)' and IBMJava2-13, with same result. Thanks in advance Erwin - Cocoon 2 - Internal server error type fatal