Special Characters

2002-01-25 Thread Ferran Urgell
Hola Cocooners! I'vegenerated some xml files from a database, but the xml filesare containing some special characters like ; etc...and before to use with an xsl, I would tochange the xml to a anothervalid xml Thanks Ferran

Re: Running cocoon without X solved, but...

2002-01-25 Thread Stephan Kassanke
Cocoon 2 - Internal server error type internal-server-error message The sitemap handler's sitemap is not available. Please check logs for the exact error. so, what does the logs say? Stephan - Original

Re: Special Characters

2002-01-25 Thread Geert Pante
25/01/2002 3:27:39, Ferran Urgell [EMAIL PROTECTED] wrote: Hola Cocooners! I've generated some xml files from a database, but the xml files are containing some special characters like ; etc...and before to use with an xsl, I would to change the xml to a another valid xml there

It's a way?

2002-01-25 Thread Ivan Rubin Ayma
Hello, I have to make a web interface to an existing database java application. The app is divided in a number of Data clases, that represent a table in the DB, Win classes to show that data in differente ways in a swing window, and Form classes to add-modify registers. I think Cocoon is a

RE: C2 Memory Settings - Xms, Xmx, freememory, and heapsize

2002-01-25 Thread Peter Hargreaves
Hi Gerhard, Many thanks for your time and the extra tips. So, following on the same thread, if you will bear with me? My 'real world' has the following 'special case': I want to deploy multiple independent cocoon applications in the same servlet container (Tomcat 4.0.1). Is this wise? I

XSL Stylesheet question

2002-01-25 Thread Anthony Diodato
Can you put xsp code in your style sheets. The reason I ask is this. I wrote a form based authentication servlet for my website. The form authenticates the user, and creates a HttpSession. What I want to do is check the session on every page of the website. Here is how Im doing it. xsp:logic if

RE: JDK 1.4 pre - once again

2002-01-25 Thread Alex Kachanov
I've downloaded the latest release of Cocoon2 I've installed JDK1.4 JSP pages examples are NOT WORKING I get the follwoing exception: java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl Rge whole tomcat is working except these JSP examples. with best wishes

RE: XSL Stylesheet question

2002-01-25 Thread Tsui, Alban
Yes this is the simple answer. I have been using this technique for quite a while. But if you want to check session for user authentication, you might want to have a look at Cocoon's ACTION. -Original Message- From: Anthony Diodato [mailto:[EMAIL PROTECTED]] Sent: 25 January 2002

RE: XSL Stylesheet question

2002-01-25 Thread Anthony Diodato
So what do I do, just insert the xsp:logic tags into my xsp stylesheet, and it will work?? -Original Message- From: Tsui, Alban [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 8:02 AM To: [EMAIL PROTECTED] Subject: RE: XSL Stylesheet question Yes this is the simple answer. I

AW: Running cocoon without X - closed

2002-01-25 Thread michel
Thanx to all: Cocoon is running now The last problem was my mistake, a space at the wrong place. In deed the original problem was the setting of java -Xbootclasspath/a:pja.jar . in my tomcat startup script. Maybe this feature should be added to the howto on cocoon's homepage,

RE: XSL Stylesheet question

2002-01-25 Thread Tsui, Alban
This is one example that i have: ?xml version=1.0? xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:xsp=http://apache.org/xsp; xmlns:chart=http://www.abbabbab.com/chart; xmlns:xsp-request=http://apache.org/xsp/request/2.0; version=1.0

RE: XT Transformer

2002-01-25 Thread Carsten Ziegeler
Thanks for reporting this bug! I fixed it now. You can either use the current CVS version of Cocoon or wait for the next release in order to get it working... Thanks, Carsten -Original Message- From: Gilles Beaugeais [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 3:15 PM To:

Re: Servlet to XSL possible?

2002-01-25 Thread Bob Garvey
Bob, Did you EVER tried to access http://cb:8080/cocoon/servlet23/BobServlet? Vadim Yes, working now. I sent the following yesterday. Thanks very much for your help. Thanks to Vadim Gritsenko and David Rosenstrauch. This scheme now works. Here is what I learned that may be valuable to

Re: Special Characters

2002-01-25 Thread Martin Holz
Geert Pante wrote: 25/01/2002 3:27:39, Ferran Urgell [EMAIL PROTECTED] wrote: Hola Cocooners! I've generated some xml files from a database, but the xml files are containing some special characters like ; etc...and before to use with an xsl, I would to change the xml to a another

RE: XSL Stylesheet question

2002-01-25 Thread Anthony Diodato
Cant get this to work. Here is what I have in my xsl, ?xml version=1.0? !DOCTYPE xsp:stylesheet [ !ENTITY nbsp #160; !ENTITY crlf xsl:text#013;/xsl:text !ENTITY copy #169; ] xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform; version=1.0 xsl:template match=page

Re: Special Characters

2002-01-25 Thread Geert Pante
25/01/2002 6:16:19, Martin Holz [EMAIL PROTECTED] wrote: Geert Pante wrote: 25/01/2002 3:27:39, Ferran Urgell [EMAIL PROTECTED] wrote: Hola Cocooners! I've generated some xml files from a database, but the xml files are containing some special characters like ; etc...and before to

Re: JDK 1.4 pre

2002-01-25 Thread Berin Loritsch
David Rosenstrauch wrote: At 11:22 AM 1/24/02 -0500, Berin Loritsch wrote: Until that time, and the time when XSP is no longer needed, tools.jar needs to go in WEB-INF/lib. Not sure what you mean by that. When won't XSP be needed any longer? Is it being deprecated? We haven't come

Re: JDK 1.4 pre

2002-01-25 Thread Berin Loritsch
Alex Kachanov wrote: Guys, I think the problem is that JDK1.4 includes Xerces parser now. So there are conflicting versions when you install JDK 1.4 and cocoon on the same machine You can get around that easily enough. Cocoon uses JAXP, and you can override the specific class that is

Re: JDK 1.4 pre - once again

2002-01-25 Thread Berin Loritsch
Alex Kachanov wrote: I've downloaded the latest release of Cocoon2 I've installed JDK1.4 JSP pages examples are NOT WORKING I get the follwoing exception: java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl Rge whole tomcat is working except these

RE: JDK 1.4 pre

2002-01-25 Thread Alex Kachanov
HOW-TO! -Original Message- From: Berin Loritsch [mailto:[EMAIL PROTECTED]] Sent: 26 „‘„~„r„p„‚„‘ 2002 „s. 0:52 To: [EMAIL PROTECTED] Subject: Re: JDK 1.4 pre Alex Kachanov wrote: Guys, I think the problem is that JDK1.4 includes Xerces parser now. So there are conflicting

Re: JDK 1.4 pre

2002-01-25 Thread Berin Loritsch
Alex Kachanov wrote: HOW-TO! check the config files and the web.xml file. You have to set a property for Cocoon, and change the Component for the Parser. -Original Message- From: Berin Loritsch [mailto:[EMAIL PROTECTED]] Sent: 26 „‘„~„r„p„‚„‘ 2002 „s. 0:52 To: [EMAIL

Re: XSLTransformer questions!

2002-01-25 Thread Bryan Murphy
shenoy, nitin wrote: Q1) How do I pass the result of XSL transformations to an Action? map:match pattern=ProcessOrder map:generate type=file src=input/message.xml/ map:transform src=input/identity.xsl/ map:act type=load-order / map:serialize/ /map:match In the

Re: Sitemap configuration to generate pdf.

2002-01-25 Thread Koen Pellegrims
map:generate defines where you will get your initial XML from. In your case, this should be your xsp, you need: map:generate type="serverpages" src="whereveryourxspis/{1}.xsp"/ In your example, cocoon will try to mach {1} (which is the filename, without the extension) somewhere else in

Re: Any way to use processing instructions?

2002-01-25 Thread Dimitry Chernyshov
Actually, it's not that simple... C1 could do recursive transformations like: 1. Process XSP, which generates XML with PI's indicating XSL to process... And so on. Best, Dimitry Berin Loritsch wrote: The long answer is: Is there anyone interested in writing a migration tool for

Re: Any way to use processing instructions?

2002-01-25 Thread Jean-Philippe Courson
Forget PIs. They are not existing anymore ! They have been replaced by the sitemap file which choose the processes that has to be done by the request uri. JP Dimitry Chernyshov wrote: Actually, it's not that simple... C1 could do recursive transformations like: 1. Process XSP, which

Sitemap configuration to generate pdf.

2002-01-25 Thread MOODAD (Shadi LB Soft)
Hi. I'm trying to use coconn 2 as a servlet to generate pdf reports from xsp files. so i have used the following configuration of the sitemap.xsp (check attachement) but it didn't work. with the folloing pipeline (a test one that just generate html not pdf) map:pipeline> map:match

RE: Cocoon User guide/ Developer doc - Urgent

2002-01-25 Thread Chitharanjan Das
Hello I am trying to understand the functionality of Action, Selector and resources. Could any one of you Cocooners, direct me to any kind of helpful documentation regarding it. Regds, Chiths -Original Message- From: Chitharanjan Das [mailto:[EMAIL PROTECTED]] Sent: Friday,

XSL-PS

2002-01-25 Thread Antonio Fletes
Hello anybody know if can cocoon output Postscript is possible this? -- ** Ulises Antonio Fletes González Analista de Sistemas Teléfonos del Noroeste S.A. C.V. Desarrollo de Sistemas **

RE: Cocoon 2 with VAJ 4 and WTE

2002-01-25 Thread Marty McClelland
Hello Tom - If you get C2 running with VAJ4 and WTE - could you post the process back to the list? I use VAJ4 - and it would be great to have C2 integrated withit. marty -Original Message- From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 24, 2002 3:06 PM

Re: XSL-PS

2002-01-25 Thread Adam Sherman
On 01/24/2002 12:15:19 PM -0800, Antonio Fletes wrote: Hello anybody know if can cocoon output Postscript is possible this? There is, at least in cvs, a PS Serializer. Works the same way as the PDF Serializer. There is also a PCL Serializer, which might be more efficient if your printer

Rendering a jsp : JSP it compiled 3 times - performance problem

2002-01-25 Thread Kai Ulrich
Hey My problem : If 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 ... RequestDispatcher rd = etServletContext().getRequestDispatcher(

Re: XSL-PS

2002-01-25 Thread David Rosenstrauch
At 12:15 PM 1/24/02 -0800, you wrote: Hello anybody know if can cocoon output Postscript is possible this? Yes. http://xml.apache.org/cocoon/userdocs/serializers/ps-serializer.html DR - Please check that your question has

Minimal Config

2002-01-25 Thread Adam Sherman
We're gradually building an app that depends on Cocoon. What I want to know is, what is the minimal information needed in sitemap.xmap, cocoon.xconf and web.xml? And what is the minimum needed files? The docs seem to assume that we're leaving all the samples/docs/etc stuff in the webapp, but

RE: Cocoon User guide/ Developer doc - Urgent

2002-01-25 Thread Chitharanjan Das
David, Thanx a lot Regds, Chiths -Original Message- From: David Rosenstrauch [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 12:37 PM To: [EMAIL PROTECTED] Subject: RE: Cocoon User guide/ Developer doc - Urgent At 09:54 AM 1/25/02 -0800, you wrote: Hello I am

cTwIG question

2002-01-25 Thread Christopher A. Brooks
Hi all, I'm trying to follow along with the cTwIG document, but I can't seem to get even the first stylesheet to work! I've created the ctwig directory, copied the XSL and XML files from the guide into it, and added the following to my sitemap.xmap: map:match pattern=ctwig/basic01-01.xml

Help with cocoon actions

2002-01-25 Thread Chitharanjan Das
Title: Help with cocoon actions Hello, Following is the listing of an actionset. Could anyone of you help me in retrieving the value of src inside the Action code for the entry map:act type=screen-navigator src="{1}/ Please note that this action name has no specified action it is

RE: actions using XML

2002-01-25 Thread Chitharanjan Das
Title: RE: actions using XML Do the following Create a actionset map:action-sets map:action-set name=handle-requests map:act type=htmlReqHandler action=HTML/ map:act type=flashReqHandler action=FLASH/ /map:action-set /map:action-sets Use this action set in Ur pipeline

additions to Apache Cocoon 2 hosting.xml

2002-01-25 Thread David Crossley
The following sites have recently been added or updated on the hosting.xml page in CVS. It will only go onto the public xml.apache.org/cocoon/ when the next release happens. Capital Internet ... capital-internet.net Virtual Artists Pty Ltd ... va.com.au Hub.Org Networking Services ... hub.org

additions to Apache Cocoon 2 livesites.xml

2002-01-25 Thread David Crossley
The Livesites page has been recently updated in CVS. It will only go onto the public xml.apache.org/cocoon/ when the next release happens. Is there is anyone who has been missed? Here is the current file in CVS if you want to see what will be going out with the next release.