c2 struts
Hello, are there any Informations about using c2 and struts together. I searched at google, but no results. I'd like tocombine c2 featureswith a struts-app. I built c2including the struts.jar, but I failed with the configuration. Did someoneherehas been successfull with using c2and struts together? any help/hint will help me, thank you stefan
Saxon and C2
Hi, Who knows how to use the Saxon XSLT processor with Cocoon 2? Thank you very much for your help. Mario - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Nobody Knows HOW TO SAVE STREAM ON DISK!!
Is somebody out there, who wrote a serializer to write an XSP stream to disk? Thank you very much for your help. Mario Muja Karl ie wrote: [EMAIL PROTECTED]"> there are ways to do this, but it involves a bit java hacking as i don'tknow so much about cocoon.1: make your own serializer---that sends the resulting stream to a file object instead of back to cocoonthis should be pretty easy for 'poc' but a little harder for a productionversion. a good start would be to copy the source of theorg.apache.cocoon.serialization.TextSerializer ororg.apache.cocoon.serialization.XMLSerializer give it your own name, modifyit to save to disk instead of stream back to cocoon and then set this up asyou end serializer in the pipeline2: use saxon as a xslt transformer--as it has a feature to save output to disk (tip: saxon:output/)regretfuly you will have to read manuals about saxon and see if its possibleto use saxon as a transformer in cocoon.3: make a jsp or servlet catcher (e asy, but not very smart to do)-make a jsp site that relays the output from your original pipeline, andwrites parts of it to disk with the File object, this will work in aquickhack maner, but is not very clever as it imposes a big overhead.try something like this in a jspfile:%try { //try to read from url URL myurl = new URL( "http://www.karl.no/" ); //- yourhttp://someserver:8080/cocoon/test.xsp BufferedInputStream inn = new BufferedInputStream(myurl.openStream()); BufferedWriter out = new BufferedWriter( new OutputStreamWriter( newFileOutputStream("output.txt") ) ); for(;;) { int data = inn.read(); if (data == -1) { break; } else { out.write((char) data); } } out.flush(); }catch(MalformedURLException mue) { System.out.println("Invalid URL");}catch(IOException ioe) { System.out.println("I/O Error - " + ioe);}%NB: this is pseudo-code, i haven't testet if it's compiling! :-) buy a bookabout java programming, it will be well spent time/money if you are to workwith cocoon!mvh karl ie -Original Message-From: cib [mailto:[EMAIL PROTECTED]]Sent: 10. september 2001 20:30To: Cocoon User Mail ListSubject: Nobody Knows HOW TO SAVE STREAM ON DISK!!Hi,I've been sending message everywhere and reading any book on jsp,and nowhere it's told how I can get an xsp to record, or update a file.It's crazy!! hey man, beta software IS crazy :-) !!!-Please check that your question has not already been answered in theFAQ before posting. http://xml.apache.org/cocoon/faqs.htmlTo unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>
RE: embedding fonts (FOP and C2)
Quoting Jacob Cantwell [EMAIL PROTECTED]: thanks Giacomo and Colin, i went through the logs again, and picked up that it wasnt finding the font. (i swear it wasn't in the logs before) in my sitemap: user-config src=d:/fop/conf/userconfig.xml/ in my userconfig.xml: font metrics-file=FZZQJW.xml kerning=yes embed-file=FZZQJW.ttf the relative path to the metrics-file and embed-file actually points to my D:\jakarta-tomcat-3.2.2\bin directory which is odd. i moved the files there and it works for my .pfb fonts, i have to do more testing with .ttf fonts though. should i write up a blurb for http://xml.apache.org/cocoon2/pdf-serializer.html about this topic? i would like to contribute to cocoon's documentation in some way. Sure, cool. Maybe we can convice the Fop community to have a way to define a base dir fop looks for those files. Giacomo - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Cocoon2 problem
Rafa, nosotros los solucionamos así (translation: Rafa, we solved it like this): 1. Edit the ant file with joe (We're using Linux RedHat 7.0) 2. Delete the blank between #! and /bin/sh 3. If you see an underlined M at the end of each line...delete it 4. Save and execute Good Luck! Enric BCN -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]En nombre de Rafa Granados Enviado el: miércoles, 12 de septiembre de 2001 14:01 Para: [EMAIL PROTECTED] Asunto: Cocoon2 problem Hi all, I´m installing Cocoon2. I´ve already installed Tomcat 3.3 + Apache (under Redhat 7.0) and they work properly. Problems emerge when I try to generate the Cocoon.war. I´ve established the environment variables: JAVA_HOME=/usr/java/jdk1.3.1 TOMCAT_HOME=/usr/local/jakarta-tomcat-3.3-b2 I´ve introduced in the PATH /usr/java/jdk1.3.1/bin ...but when I try to run the command: . /build.sh -Dinclude.webapp.libs=yes -Dinstall.war=/usr/local/jakarta-tomcat-3.3-b2/webapps install the following error appears: /usr/local/xml-cocoon2/bin/ant: /usr/java/jdk1.3.1/bin/java: This file or directory doesn´t exist. However, the java file is recognised (concretely, this is a symbolic link to the file .java_wrapper). I don´t know where is the error. Please, help me. Best regards. Rafa Granados. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SAX, DOM
hi all! i got following problem (using cocoon2). -how do i create an XML-stream (using a xsp-file (serverpage in sitemap)) in the following way: i have a string (itemitem1/itemitemitem2/item) and want it to insert into the xml-stream. sorry for the inconvienience, but the documentation is really poor. -is there any good documentation (and easy to understand examples) about using XSP with SQL and Flat-XML-Files as datasource? yours -- Thomas Hofer SCCH - Software Competence Center Hagenberg GmbH Hauptstrasse 99, A-4232 Hagenberg, Austria phone: +43 7236 3343 836, fax: +43 7236 3343 888 eMail: [EMAIL PROTECTED] -Original Message- From: Enric Staromiejski [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 12. September 2001 15:24 To: [EMAIL PROTECTED] Subject: RE: Cocoon2 problem Rafa, nosotros los solucionamos así (translation: Rafa, we solved it like this): 1. Edit the ant file with joe (We're using Linux RedHat 7.0) 2. Delete the blank between #! and /bin/sh 3. If you see an underlined M at the end of each line...delete it 4. Save and execute Good Luck! Enric BCN -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]En nombre de Rafa Granados Enviado el: miércoles, 12 de septiembre de 2001 14:01 Para: [EMAIL PROTECTED] Asunto: Cocoon2 problem Hi all, I´m installing Cocoon2. I´ve already installed Tomcat 3.3 + Apache (under Redhat 7.0) and they work properly. Problems emerge when I try to generate the Cocoon.war. I´ve established the environment variables: JAVA_HOME=/usr/java/jdk1.3.1 TOMCAT_HOME=/usr/local/jakarta-tomcat-3.3-b2 I´ve introduced in the PATH /usr/java/jdk1.3.1/bin ...but when I try to run the command: . /build.sh -Dinclude.webapp.libs=yes -Dinstall.war=/usr/local/jakarta-tomcat-3.3-b2/webapps install the following error appears: /usr/local/xml-cocoon2/bin/ant: /usr/java/jdk1.3.1/bin/java: This file or directory doesn´t exist. However, the java file is recognised (concretely, this is a symbolic link to the file .java_wrapper). I don´t know where is the error. Please, help me. Best regards. Rafa Granados. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Cocoon error page
Hello, I am a new tomcat-cocoon user. When the producer argument given to Cocoon is bad, Cocoon give an error page Error found handling the request. with the java stacktrace below. On my production site, I don't want the users to see the java stacktrace. How can I configure Cocoon to return a static page. Thanks for your help. Alexandre PS: I am using Cocoon 1.8.2 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[C2] multiple versus individual pipelines
Dear All, What is the difference in behaviour between having multiple map:pipeline/s and map:pipeline/s with multiple map:match/s? Thanks regards Jeremy -- ___ Jeremy Quinn Karma Divers webSpace Design HyperMedia Research Centre mailto:[EMAIL PROTECTED]http://www.media.demon.co.uk phone:+44.[0].20.7737.6831pager:[EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[C2] blank pages ????
Dear All, I seem to get blank pages when there is something wrong with the URL I use. What is causing this? How do I stop it? Thanks for any help regards Jeremy -- ___ Jeremy Quinn Karma Divers webSpace Design HyperMedia Research Centre mailto:[EMAIL PROTECTED]http://www.media.demon.co.uk phone:+44.[0].20.7737.6831pager:[EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [C2] blank pages ????
Define error-handler type=404/ in your pipelines/ (in addition to error-handler/) Regards, Vadim -Original Message- From: Jeremy Quinn [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 12, 2001 12:58 PM To: Cocoon Users Subject: [C2] blank pages Dear All, I seem to get blank pages when there is something wrong with the URL I use. What is causing this? How do I stop it? Thanks for any help regards Jeremy -- ___ Jeremy Quinn Karma Divers webSpace Design HyperMedia Research Centre mailto:[EMAIL PROTECTED] http://www.media.demon.co.uk phone:+44.[0].20.7737.6831pager:[EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [C2] multiple versus individual pipelines
At 11:00 AM -0600 12/9/01, Michael McKibben wrote: Hello, when first looking at Cocoon2 I had the same question. This is what I have been able to discover. The distinction is subtle. The multiple pipeline approach allows you to define seperate handle-errors pipelines for error handling. Also, you can you multiple pipelines to segregate public vs. internal-only pipelines. Thanks That was all I noticed too, I thought there must be more to it regards Jeremy -- ___ Jeremy Quinn Karma Divers webSpace Design HyperMedia Research Centre mailto:[EMAIL PROTECTED]http://www.media.demon.co.uk phone:+44.[0].20.7737.6831pager:[EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [C2] multiple versus individual pipelines
Nope, Michael mentioned everything. Vadim -Original Message- From: Jeremy Quinn [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 12, 2001 1:40 PM To: [EMAIL PROTECTED] Subject: Re: [C2] multiple versus individual pipelines At 11:00 AM -0600 12/9/01, Michael McKibben wrote: Hello, when first looking at Cocoon2 I had the same question. This is what I have been able to discover. The distinction is subtle. The multiple pipeline approach allows you to define seperate handle-errors pipelines for error handling. Also, you can you multiple pipelines to segregate public vs. internal-only pipelines. Thanks That was all I noticed too, I thought there must be more to it regards Jeremy -- ___ Jeremy Quinn Karma Divers webSpace Design HyperMedia Research Centre mailto:[EMAIL PROTECTED] http://www.media.demon.co.uk phone:+44.[0].20.7737.6831pager:[EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Configuration on Weblogic 5.1 and Win2000
I moved parser.jar(xerces 1.4) to the front of my classpath and did a new build. Now there are no error messages in the log but whenever I hit http://localhost:7001/cocoon I get a 404 error message. I checked cocoon log and cocoon is processing the request. The log says it compiles sitemap properly then redirects to welcome. The url in browser changes to http://localhost:7001/welcome and the screen displays the error 404 - not found page. If I go to http://localhost:7001/cocoon/welcome the welcome page loads however if I click the html example I get the 404 error msg again and the url in the browser is http://atljbigler:7001/cocoon/hello.html Any suggestions? [EMAIL PROTECTED] wrote: Hello I have been trying to set up cocoon to run on my machine. I have fought through several problems with the xml classes and security exceptions but this last problem has me whipped. If anyone can help I would greatly appreciate it. Otherwise I think I will have to punt. I am using Windows 2000 SP1 Weblogic 5.1 SP9 Cocoon-2.0b2 java version 1.3.1_01 Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01) Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode) Things I have done so far. 1) built cocoon following instructions in INSTALL file for automatic installation. (.\build.bat -Dinclude.webapp.libs=yes Dinstall.war=c:\weblogic\myserver\webapps install) 2) deleted all jars from classpath that anything to do with xml (jaxp,parser,saxon) 3) copied xerces_1_4_1.jar to weblogic\lib and renamed to parser.jar and added to weblogic.class.path 4) un-war-ed the cocoon war and added line in weblogic.properties for webapp weblogic.httpd.webApp.cocoon=c:/weblogic/myserver/webapps/cocoon 5) modified weblogic.policy to give all permissions to cocoon files Error I am recieving I attached the full cocoon.log at the bottom but here is relevant piece. I checked this line BrowserImpl.createDocumentForBrowserInfo(BrowserImpl.java:378). It is basically calling getKey off a class of the type java.util.Map.Entry which should be a valid method. __ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Namespaces
can anyone tell me how to get rid of namespaces appear in elements further down then the root element? Martin Kavalar wrote: exclude-result-prefixes=#default myotherns still prints out the default namespace...any clue why? Laurent KEMPENEERS wrote: Sorry, My answer was not complete... for the default namespace, you can use the value '#default' as namespace prefix. Laurent -Message d'origine- De : Martin Kavalar [mailto:[EMAIL PROTECTED]] Envoyé : lundi 10 septembre 2001 13:00 À : [EMAIL PROTECTED] Objet : Re: Namespaces Thanks for your quick reply. Your solution helped me for all namespaces delared like this: xmlns:name=mynamespace but what about the xmlns=myothernamespace ? I cant come up with a way of removing this one. thanks martin Laurent KEMPENEERS wrote: One solution for this kind of namespaces manipulation in XSLT is to use the exclude-result-prefixes attribute of the stylesheet element. The value of this attribute consists of one or more space-separated prefix names. The namespace declarations related to those prefix names are not copied to the output. Laurent -Message d'origine- De : Martin Kavalar [mailto:[EMAIL PROTECTED]] Envoyé : samedi 8 septembre 2001 14:04 À : Cocoon Mailing List Objet : Namespaces Is there a way to remove the namespaces during an xslt? We are doing XML-XML (XHTML) and the namespaces that appear in the root (html) element is the only thing that keeps our document from validating as xhtml 1.0 thanks for your help martin - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [C2] blank pages ????
At 1:19 PM -0400 12/9/01, Vadim Gritsenko wrote: Define error-handler type=404/ in your pipelines/ (in addition to error-handler/) The tag error-handler/ is not in the sitemap logicsheet, sitemap.xsl. Do you mean something like this? map:pipeline map:match pattern=blah ... /map:match map:handle-errors type=401 map:transform src=stylesheets/error-401.xsl map:serialize/ /map:handle-errors map:handle-errors map:transform src=stylesheets/error.xsl map:serialize status-code=500/ /map:handle-errors /map:pipeline Thanks regards Jeremy -- ___ Jeremy Quinn Karma Divers webSpace Design HyperMedia Research Centre mailto:[EMAIL PROTECTED]http://www.media.demon.co.uk phone:+44.[0].20.7737.6831pager:[EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [C2] blank pages ????
Sorry, yes, I meant map:handle-errors/, but please use 404 (not 401). Empty page (with status 404 in response) is returned when this handler is not found (done in CocoonServlet.java). Vadim -Original Message- From: Jeremy Quinn [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 12, 2001 2:51 PM To: [EMAIL PROTECTED] Subject: RE: [C2] blank pages At 1:19 PM -0400 12/9/01, Vadim Gritsenko wrote: Define error-handler type=404/ in your pipelines/ (in addition to error-handler/) The tag error-handler/ is not in the sitemap logicsheet, sitemap.xsl. Do you mean something like this? map:pipeline map:match pattern=blah ... /map:match map:handle-errors type=401 map:transform src=stylesheets/error-401.xsl map:serialize/ /map:handle-errors map:handle-errors map:transform src=stylesheets/error.xsl map:serialize status-code=500/ /map:handle-errors /map:pipeline Thanks regards Jeremy -- ___ Jeremy Quinn Karma Divers webSpace Design HyperMedia Research Centre mailto:[EMAIL PROTECTED] http://www.media.demon.co.uk phone:+44.[0].20.7737.6831pager:[EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [C2] blank pages ????
At 3:04 PM -0400 12/9/01, Vadim Gritsenko wrote: Sorry, yes, I meant map:handle-errors/, but please use 404 (not 401). Ha ;) Empty page (with status 404 in response) is returned when this handler is not found (done in CocoonServlet.java). Thanks regards Jeremy -- ___ Jeremy Quinn Karma Divers webSpace Design HyperMedia Research Centre mailto:[EMAIL PROTECTED]http://www.media.demon.co.uk phone:+44.[0].20.7737.6831pager:[EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
inherit actions in sub-sitemaps?
Hi All, Me again ;) Is it possible to inherit into a sub-sitemap, the map:actions/ component declaration from parent SiteMaps? map:generators/, map:transformers/ etc. appear to get inherited. Any clarification would be welcomed. regards Jeremy -- ___ Jeremy Quinn Karma Divers webSpace Design HyperMedia Research Centre mailto:[EMAIL PROTECTED]http://www.media.demon.co.uk phone:+44.[0].20.7737.6831pager:[EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: inherit actions in sub-sitemaps?
Works for me... I do not have even map:actions in my subsitemap, and actions got inherited. Vadim -Original Message- From: Jeremy Quinn [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 12, 2001 3:12 PM To: Cocoon Users Subject: inherit actions in sub-sitemaps? Hi All, Me again ;) Is it possible to inherit into a sub-sitemap, the map:actions/ component declaration from parent SiteMaps? map:generators/, map:transformers/ etc. appear to get inherited. Any clarification would be welcomed. regards Jeremy -- ___ Jeremy Quinn Karma Divers webSpace Design HyperMedia Research Centre mailto:[EMAIL PROTECTED] http://www.media.demon.co.uk phone:+44.[0].20.7737.6831pager:[EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
TurbineResources.properties error msg
I asked this earlier but received no response: I've turned on esql pooling (which works great), but now the first time I try to run an esql command in an XML file I get an error message in the tomcat log file of: java.lang.Exception: The logfile= property and the turbine.logs= property in the TurbineResources.properties file are null or could not be found. At least one of these properties must be defined in the TurbineResources.properties file. I then must restart tomcat and httpd to get the website to start working again. I have searched for the TurbineResources.properties file and cannot find it (hence the message that the settings are null). What needs to be done to correct this? We are using Cocoon 1.8.2 and Tomcat 3.2.1. Thanks! Mark - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [C2] multiple versus individual pipelines
On Wed, 12 Sep 2001, Jeremy Quinn wrote: Dear All, What is the difference in behaviour between having multiple map:pipeline/s and map:pipeline/s with multiple map:match/s? The map:handle-error element. Technically it is a try/catch block for each map:pipeline/. Giacomo Thanks regards Jeremy - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
problem with xml document() function
Hello people. I am having problem using document(). Here is the situation: My menu.xml and remove-user.xml are in the same directory. I don't get any result when I call menu.xml inside remove-user.xsl by using document(menu.xml). If I try document('menu.xml','/C:/cocoon/xml/admin'), only STANDARD FUNCTIONS will be displayed. Well I need your help.Thank you in advance. Here is my menu.xml - menu standard s-header=STANDARD FUNCTIONS standard-link href=/ILS/under_construction.html value=SEARCH/ !--standard-link href=/ILS/xml/user/faq.xml value=VIEW FAQ/ standard-link href=/ILS/xsp/admin/profile.xml value=MY PROFILE/ standard-link href=/ILS/xml/search/search.xml value=SEARCH/-- /standard /menu - Here is my remove-user.xml: - ?xml version=1.0? ?cocoon-process type=xslt? ?xml-stylesheet href=../../xsl/admin/remove-user-form.xsl type=text/xsl remove-user-form title ILS - REMOVING USER /title headerREMOVING USER FROM ILS/header guideEnter the user ID that you intend to remove from ILS./guide admin-menu/ /remove-user-form -- Here is my remove-user.xsl: -- xsl:variable name=menu select=document('menu-admin.xml')/ xsl:template name=getStandardLinks tr TD height=18 bgcolor=#295A84 width=135xsl:call-template name=teethIMG/br/ b font color=#FF size=1 xsl:value-of select=$menu//@s-header/ /font /b /TD /tr xsl:for-each select=$menu//standard-link tr TD height=18 bgcolor=#D5D9E1 width=135 A HREF={$menu/@href} b font size=1 color=#00 xsl:value-of select=$menu/@value/ /font /b /A /TD /tr /xsl:for-each /xsl:template Bobo, - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]