use xscript in xsp

2002-02-05 Thread yuryx
For generation xml with xsp I have use any stylesheets for any tags. I define: simple.xsp: ?xml version=1.0 encoding=ISO-8859-1? xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:xscript=http://apache.org/xsp/xscript/1.0; page titleInline XScript variable(include

Re: serving images?

2002-02-05 Thread Jozsa Kristof
On Mon, Feb 04, 2002 at 01:48:22PM -0500, Vadim Gritsenko wrote: From: Jozsa Kristof [mailto:[EMAIL PROTECTED]] Ok, here's a trivial question: how do I serve image files using Cocoon? I have some html tag in the results of some page, like: img border=0 src=/images/company/wtf.jpg

Re: loggers in cocoon

2002-02-05 Thread Torsten Curdt
Hello ! This is pehaps a little bit off-topic, I have a question about the loggers of the java projects of apache. I use in my application log4j but cocoon use logKit from Avalon. Why another logger ? Is there any big differences, pros cons between this 2 loggers. Thanks Have a look into

RE: DOCBOOK and Cocoon2 - Example needed!

2002-02-05 Thread Erik Stunkat
Hi, I use Docbook DTD 4.1 and the stylesheets for xsl from Norman Walsh. You need to do: declare the Public Identifier in CatalogManger.properties catalogs=C:/web/tomcat/webapps/cocoon/stylesheets/docbookxml/docbook.cat Use the Public Identifier in your xml file: !DOCTYPE book PUBLIC

Re: [HOWTO] disable caching for development (was Re: problem in updating xsl)

2002-02-05 Thread Mohamed Abdel Hameed
hello Nicola Thanx for your reply i make the changes u told me to do when i make all changes some errors occur and without running web site there is a dir index but i change this only and it works good now xslt-processor class=org.apache.cocoon.components.xslt.XSLTProcessorImpl

RE: C2 Newbie: XSP Logicsheet in sitemap ?

2002-02-05 Thread Vadim Gritsenko
From: Derek Hohls [mailto:[EMAIL PROTECTED]] Vadim Unfortunately I only have the built version... Still no success - as I said before, I have removed the xsp:logicsheet location=derek1/logic/logicsheet.greeting.xsl/ This is right, you should use *either* xsp:logicsheet/, or register

DbXMLAuthenticatorAction

2002-02-05 Thread Christian Zoffoli
I'm developing a DbXMLAuthenticatorAction ...and if you think it's useful I could contribute it . It's based on DatabaseAuthenticatorAction and it has the same features. Christian - Please check that your question has not

RE: problem dropping cocoon into Borland App Server

2002-02-05 Thread Nick Airey
Hello Vadim, I have rerun the test with your patch, and the logfiles are attached. 1) start partition (loads cocoon servlet) 2) hit url /cocoon/xsp/simple 3) hit url /cocoon/welcome 4) hit url /cocoon/hello.html 1,3,4 seem to work. 2 does not. Infact, as far as I can see, all the xsp based

Problem with Cocoon2 servlet in websphere3.5.2

2002-02-05 Thread Anil_Kandula
Hi, I have encountered an exception in the init method of CocoonServlet deployed on websphere3.5.2. The problem seems to be in reading the cocoon.xconf in the init method. Quick help would be appreciated. I have checked in the log file of cocoon (root.log.01) and found the following

Re: Problem with Cocoon2 servlet in websphere3.5.2

2002-02-05 Thread Leonid Kleiner
Read the attached file. Tell if this helped. Leonid Kleiner - Original Message - From: Anil_Kandula [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 05, 2002 5:08 PM Subject: Problem with Cocoon2 servlet in websphere3.5.2 Hi, I have encountered an exception in the

RE: problem dropping cocoon into Borland App Server

2002-02-05 Thread Vadim Gritsenko
Seems like there are issues resolving included stylesheets. Try simple xsp example (attached). PS The log files you sent to me - were you running app server with cocoon unpacked under C:/localhost? Vadim -Original Message- From: Nick Airey [mailto:[EMAIL PROTECTED]] Sent: Tuesday,

Re: DOCBOOK and Cocoon2 - Example needed!

2002-02-05 Thread Yann Secq
Erik Stunkat wrote: Hi, I use Docbook DTD 4.1 and the stylesheets for xsl from Norman Walsh. The same works with fo and pdf creation, then you need the fo directory from the stylesheets. Hi Erik, I have followed your instructions and it worked fined for HTML output ! Anyway, I have some

Building tutorialwebapp

2002-02-05 Thread Joseph Rajkumar
Hi Folks I downloaded cocoon-2.0.1 and build it and got it to work just fine. Now I am trying to build tutorialweb to see the examples whose screen shots are available under the How to develop Web Applications and I do not see the tutorialwebapp target. Please let me know how I

Re: problem in updating xsl

2002-02-05 Thread Ed Jenkins
How do you disable the caching in cocoon.xconf? I haven't seen any examples of this. Ed --- From: Nicola Ken Barozzi [EMAIL PROTECTED] Reply-To: Nicola Ken Barozzi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: problem in updating xsl Date: Mon, 4 Feb 2002 20:36:50 +0100 From: Luca

RE: problem in updating xsl

2002-02-05 Thread Vadim Gritsenko
Search for NonCachingStreamPipeline and NonCachingEventPipeline. Vadim -Original Message- From: Ed Jenkins [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 05, 2002 11:39 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: problem in updating xsl How do you disable the

Re: problem in updating xsl

2002-02-05 Thread Nicola Ken Barozzi
From: Ed Jenkins [EMAIL PROTECTED] How do you disable the caching in cocoon.xconf? I haven't seen any examples of this. http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=101289497109955w=2 -- Nicola Ken Barozzi [EMAIL PROTECTED] - verba volant, scripta manent -

Javascript includes in Stylesheets for Cocoon 2

2002-02-05 Thread Chitharanjan Das
Hello, I am planning to include all my javacscripts for the my pages in my XSL stylesheets. What is the mime type and pattern description for javascripts. For eg to represent images we have map:match pattern=jsp/stylesheet/**.gif map:read

New release 2.0.1 woes

2002-02-05 Thread Alexander Smirnoff
Hi, I was trying to integrate new cocoon 2.0.1 version with my old sitemap and apparently It was not able to compile sitemap.xmap file because of the next errors (2.0rc1 works without errors): javax.xml.transform.TransformerException: Sitemap pipeline with map:generate|aggregate|transform

RE: New release 2.0.1 woes

2002-02-05 Thread Vadim Gritsenko
From: Alexander Smirnoff [mailto:[EMAIL PROTECTED]] Hi, I was trying to integrate new cocoon 2.0.1 version with my old sitemap and apparently It was not able to compile sitemap.xmap file because of the next errors (2.0rc1 works without errors):

Running Cocoon 2.0.1

2002-02-05 Thread Bert Van Kets
I'm using the following configuration: SuSE 7.3 (headless) JDK 1.3.1_02 Tomcat 4.0.1 PJA 2.3.1 Cocoon 2.0.0 runs perfectly. All the samples and docs are created without any problem. I now would like to install Cocoon 2.0.1 and did the following: 1) Stopped Tomcat 2) Deleted the cocoon.war

RE: Running Cocoon 2.0.1

2002-02-05 Thread Vadim Gritsenko
From: Bert Van Kets [mailto:[EMAIL PROTECTED]] I'm using the following configuration: SuSE 7.3 (headless) JDK 1.3.1_02 Tomcat 4.0.1 PJA 2.3.1 Cocoon 2.0.0 runs perfectly. All the samples and docs are created without any problem. I now would like to install Cocoon 2.0.1 and did

RE: Simple XSL question

2002-02-05 Thread Ivan Rubin Ayma
Simone, Just for the record, I went on using this template. xsl:template match=@* | node() xsl:copy xsl:apply-templates select=@* | node()/ /xsl:copy /xsl:template I still wonder if it is not a bad design to generate a base xml at the begining of the pipeline, aggregate other generated

Serialization of namespaces issue - after using org.apache.cocoon.xml.dom.DOMBuilder

2002-02-05 Thread Mark Leicester
Hi all, I have just installed Cocoon 2.0.1 - after having used Cocoon 2.0 (and earlier) for some time. I had written a transformer which extracts fragments from a document exactly along the lines of the FragmentExtractorTransformer which has worked well for me in Cocoon 2.0 and before. My

Re: Simple XSL question

2002-02-05 Thread Bryan Murphy
xsl:import and xsl:include are your friends when you start getting concerned about performance issues and want to do everything in one pass! Of course though, if you generate one form of content, and then transform it to another form of content (say, xml-docbook-html) you are SOL. :(

XSLT/XPath Question....

2002-02-05 Thread Lewis, Andrew J
I realize that this is not a general XSL forum, so if someone would rather point me to a more appropriate forum, I have no problem with that, but the people on this list generally seem to have the answers :) I am having wierd namespace issues in XSLT using the document()

Cocoon 2 + Tomcat 4 + mod_webapp|mod_jk + Apache

2002-02-05 Thread Daniel Schneider
Hello, I decided to move from Cocoon 1 to Cocoon 2 (finally) but I can't do what I did with Cocoon 1 which is SIMPLY TO SHIP a CATEGORY of XML files from a RANDOM place in an APACHE to Tomcat/Cocoon for processing. (1) So I installed C2 and made some simple installation notes: Installing Cocoon

COCOON Installation

2002-02-05 Thread pbalasubramanian
I was trying to setup the FOP solution on my machine. I managed to download the latest development Cocoon2.01 version of files from cvs repository. When I was trying to build up the cocoon.war file, I am getting the below error. C:\XML-COCOON\xml-cocoon2.\build.bat lib\core\xerces-1.4.4.jar

Livesites

2002-02-05 Thread Michael V. Elfimov
Hi! Cocoon 1.8.2, www.stu.lipetsk.ru - official site of Lipetsk State Technical University, from Russia. I'm webmaster. Planning move to Cocoon 2. - Please check that your question has not already been

Re: [HOWTO] disable caching for development (was Re: problem in updating xsl)

2002-02-05 Thread Mohamed Abdel Hameed
Thanx for your reply i make the changes u told me to do when i make all changes some errors occur and without running web site there is a dir index but i change this only and it works good now xslt-processor class=org.apache.cocoon.components.xslt.XSLTProcessorImpl

Re: Child name 'localhost' is not unique

2002-02-05 Thread Steve Barnes
Re. Apache won't deploy Cocoon and it seems to boil down to this error message (where dell is the localhost name): [org.apache.catalina.connector.warp.WarpConfigurationHandler] java.lang.IllegalArgumentException: addChild: Child name 'dell' is not unique For other strugglers who may have

lauching error for cocoon

2002-02-05 Thread Cernuto Michele
Title: lauching error for cocoon I've got this error launching cocoon. org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Could not load class for program 'org\apache\cocoon\www\sitemap_xmap' due to a

Intresting behaviour of coocoon transforming a JSP to PDF

2002-02-05 Thread Kai Ulrich
hey ! I recogiced an interesting behaviour of coocoon by transforming a JSP to PDF ! I want to render a JSP (Struts Tags) with cocoon ! Everything works fine ! 1. A servlet arrange the data an puts the beans to the request. 2. forward to the coocoon Servlet ...

Authentication not set on FileGenerator URL

2002-02-05 Thread Sriram Chavali
Hi, I am trying to use Cocoon 2.0 in my application on WebSphere 4.0 (Windows 2000). I have enabled security. I get a 'ResourceNotFoundException' when I try to get XML data from a servlet using the default FileGenerator. The problem seems to be that Cocoon is not setting the Authentication

Re: problem in updating xsl

2002-02-05 Thread Andre Thenot
On Monday, February 4, 2002, at 02:16 , Luca Morandini wrote: If so, you should touch (change the file date) of the importing stylesheet to make Cocoon recognize that the imported stylesheet has been modified. This made my day! Note that Cocoon relies on the Modify time of the files, and

cocoon userdocs/xsp/esql.html

2002-02-05 Thread Conrad Wood
you refer to a database connection 'ConnectionName' in the Example and a note 'ConnectionName' is defined is cocoon.xconf. I spent the last day trying to figure out how to add this to cocoon.xconf. Can you add a link to how to do this on the sample-page? Conrad

Coccon2- Internal Server Error

2002-02-05 Thread Mehmood Shaikh
Hi, I installed cocoon on tomcat 3.2.1. When i go to http://localhost:8080/cocoon i get an error The sitemap handler's sitemap is not available. Please check logs for the exact error. sitemap.log.01 has following exception ERROR (2002-02-05) 21:41.00:011 [sitemap] (/cocoon/)

RE: Coccon2- Internal Server Error

2002-02-05 Thread Anil_Kandula
Hello Mehmood, I've succesfully installed cocoon2.0 on tomcat4.0.1. I have encountered with many problems while installing because of jdk1.2. I switched to jdk1.3.1 and i got it running. If you are using jdk1.2 please try with jdk1.3.1. Thanks, Anil. -- From: Mehmood