Installing Cocoon2 under WLS6.1

2001-11-16 Thread Bernhard Huber
Installing Cocoon2 under WLS6.1 I have struggled a bit before I managed to run Cocoon2 under WLS6.1 The following section describes the steps to install Cocoon2 under WLS6.1. I have installed Cocoon2 under WIN2000: As WLS6.1 sp1 uses it own XMLParser, and XSLTransformer you have to force Cocoon

Cocoon Null pointer problem

2001-11-16 Thread Raman Jankiram
I saw you posting in the Cocoon mailing list about the message you got. I am getting the same message i.e Cocoon 1.8.2   Unable to open resource: /usr/netscape/jr3/servers/default/ebilling-app/WEB-INF/conf/cocoon.properties       java.lang.NullPointerException   

how to get Cocoon to work in Tomcat

2001-11-16 Thread Chan Fook Sheng (CAPL)
Hi I have got Tomcat running with IIS 5. Now I want to make Cocoon work under Tomcat, either as a servlet or at the core servlet engine level? Thank you very much, Fook Sheng - Please check that your question has not already b

RE: Problem with Tomcat and cocoon.

2001-11-16 Thread Liam Morley
Ben, I didn't see any exceptions in your attached log file. As you've no doubt read the FAQ, the exception you posted within your email isn't helpful, as it could be any number of things. It would be helpful if you could find the exception first, and then post that, rather than attaching the entir

RE: Xalan and xsl:sort speed by type

2001-11-16 Thread Mark S. Kent
Yes, the data IS from a database. However, often my output files are sorting the results of the data based on a user choice (I'm creating reports). But, you got the thinking so I made an addition to my dynamic query string in my esql command to change the SQL sort order based on the order (order

RE: .NET vs. Cocoon

2001-11-16 Thread Jeremy Aston
Hi Jeremy (top name btw ;-))   As other posters have pointed out .NET (ASP at the mo really) is not a framework in the way C2 is hence you are not really comparing like to like.  No doubt you could build a .NET version of Cocoon but as far as I can see most ASP apps have one big problem tha

RE: .NET vs. Cocoon

2001-11-16 Thread Jeremy Crosbie
> On Friday 16 November 2001 01:48 pm, you wrote: > > However another alternative has presented itself in the form of .NET > which > > has gained some momentum. As far as my knowledge goes with .NET I still > > find Cocoon to be a superior solution to the problem than .NET. Has > anyone > > done a

RE: XSP namespace question

2001-11-16 Thread David Rosenstrauch
Hmmm. I'll have to play with this. Thanks! DR At 05:01 PM 11/16/01 -0500, you wrote: >I use the stylesheet below to display an xml fragment from the xsp page >result. It seems to me you could do the same thing - just have >type="text/html" > >marty > > > xmlns:xsl="http://www.w3.org/1999/X

Re: Xalan and xsl:sort speed by type

2001-11-16 Thread David Rosenstrauch
Not answering your question, but just FYI ... If this is data that's being retreived from a database, then my thinking would be to avoid xsl:sort completely if possible. I'd rather do sorting in the database using a SQL statement (SELECT ... ORDER BY ...) since it's probably better optimized f

Re: cocoon with resin

2001-11-16 Thread Ryder Rishel
I ran into this problem as well when Using the JSPReader in Cocoon2, and it appears to be a bug in Cocoon. I described the fix in my bug report (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4934 ) which requires modifying the JSPEngineImpl.java. - Ryder - Original Message - From: "

RE: XSP namespace question

2001-11-16 Thread Marty McClelland
I use the stylesheet below to display an xml fragment from the xsp page result. It seems to me you could do the same thing - just have type="text/html" marty http://www.w3.org/1999/XSL/Transform"; > type="text/xml" > -Original Message- > From: David Rosenstrauch [mailto:[EMA

Xalan and xsl:sort speed by type

2001-11-16 Thread Mark S. Kent
Anyone know which is faster using Xalan (in Cocoon2)? for a "number" type or a "text" type? Seems I remember reading that "string" compares take longer than numeric ones as a rule. I have the option of sorting nodes based on either an "employeeid" (integer) or "lastname" (text). While the pro

RE: Cocoon with IIS 5 and Tomcat 3.3

2001-11-16 Thread Luca Morandini
Chan, the Tomcat site maybe ? http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-iis-howto.html Best regards, P.S. In order to encourage you, I made Tomcat 3.2.3 work with IIS 5.0 on Windows 2000 Professional SP2 and SP3-hot-fix with no sweat.

Re: Helper class import in logicsheet?

2001-11-16 Thread David Rosenstrauch
At 10:59 AM 11/16/01 +, you wrote: >I've written a logicsheet and want to move some of the processing into a > >helper class. > >My problem is that the generated java for the xsp using the logicsheet >does not include an import for the helper class and so it fails to >compile. > >Can anyone te

Re: .NET vs. Cocoon

2001-11-16 Thread Peter Royal
On Friday 16 November 2001 01:48 pm, you wrote: > However another alternative has presented itself in the form of .NET which > has gained some momentum. As far as my knowledge goes with .NET I still > find Cocoon to be a superior solution to the problem than .NET. Has anyone > done any comparisons

Helper class import in logicsheet?

2001-11-16 Thread Chris Field
I've written a logicsheet and want to move some of the processing into a helper class. My problem is that the generated java for the xsp using the logicsheet does not include an import for the helper class and so it fails to compile. Can anyone tell me how to get helper classes imported? Thank

Cocoon with IIS 5 and Tomcat 3.3

2001-11-16 Thread Chan Fook Sheng (CAPL)
Hi Can anyone tell me where can I find docu to install Cocoon on IIS5 with Tomcat? Or can anyone teach me how to make Cocoon works under IIS 5 with Tomcat? I'm using Win2000 with IIS 5, Tomcat 3.3 and Cocoon 1.8.2, but I can't get Cocoon to run. I follow the aproach of the chapter 9 of the Oreil

Problem with Tomcat and cocoon.

2001-11-16 Thread Benjamin Luck
Dear really cool help people. :)   My Tomcat 4.0.1 installation is working fine. It runs all the JSP and servlet examples fine. I am currently running Java 2 SDK version 1.3.0 I installed cocoon 2.0rc2 into my Redhat 7.0 linux system. I have followed the instructions at the xml.apache.org we

cocoon with resin

2001-11-16 Thread lepargneul gaëtan
Hi, i'm currently using resin to process jsp page but i'm thinking to jump on XML-XSL to be able to display my application on multipe devices. So, my problem is how to run cocoon with resin? does anyone know?   thank you for your help. -

RE: .NET vs. Cocoon

2001-11-16 Thread Robert
Hello Jeremy,   While I have not done any real comparisons, seeing as .Net isn’t even viable yet, the one thing that I always argue is that with ASP, you really can’t do the kind of frameworks that you can with a J2EE/Java solution. Take a look at Cocoon, Struts, Turbine, JetSpeed, etc, e

.NET vs. Cocoon

2001-11-16 Thread Jeremy Crosbie
I work for a company who's presence is mostly associated with the wireless web although we do have a web presence. We support all sorts of devices (PDAs, phones, PocketPC, etc.) with each essentially having its own separate codebase which has become a maintenance nightmare. With WAP2.0 comi

Porting Code From Cocoon1.8 to cocoon2.0

2001-11-16 Thread Sudip_Nadkarni
Hi, We have a live portal running Cocoon 1.8 on Websphere 3.5 we are planning to get this up to Cocoon 2.0 running on websphere 4. I was wondering if there would be a way to get the same code to work on Cocoon 2, Considering that the parsers used in Cocoon2 are sax parsers while those being

Re: XSP namespace question

2001-11-16 Thread David Rosenstrauch
Whoops! Meant to say: "Would kinda suck if I ***CAN'T*** remove all the namespace declarations from my HTML." It really is making the HTML really long and ugly. DR At 09:26 AM 11/16/01 -0500, you wrote: >Thanks for the tip. > >I thought I tried this ... but it was really late, so maybe I di

Re: XSP namespace question

2001-11-16 Thread David Rosenstrauch
Thanks for the tip. I thought I tried this ... but it was really late, so maybe I did something stupid. On the other hand though: I thought I saw something in my XSL book that said that 'exclude-result-prefixes' won't work when you're using . Anyone else hear that? Would kinda suck if I can

RE: Cocoon and WEBSPHERE 3.5 Fixpack 3.4.2

2001-11-16 Thread Ducret, Gilles (CH)
Title: RE: Cocoon and WEBSPHERE 3.5 Fixpack 3.4.2 Sorry i had not found it in the archive. I will try many thanks for your help -Original Message- From: Jack Hirasawa [mailto:[EMAIL PROTECTED]] Sent: vendredi, 16. novembre 2001 15:51 To: [EMAIL PROTECTED] Subject: Re: Cocoon and WE

Re: Cocoon and WEBSPHERE 3.5 Fixpack 3.4.2

2001-11-16 Thread Jack Hirasawa
Hi Gilles, Have you checked the mail archives? You should check there first before asking (they are in there). But enough nagging, to make your life easier here's the instructions again for Cocoon2... 1) If there's a Cocoon-2.0rc1\build directory, delete it 2) set JAVA_HOME=c:\WebSphere\AppS

AW: AW: AW: Cocoon: Few steps in sitemap?

2001-11-16 Thread Skladov, Victor
Hello, David! Thanks for your help. It is clear to me now that it is not so easy. We will think about it. Regards, Viktor -Ursprüngliche Nachricht- Von: David Rosenstrauch [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 16. November 2001 03:29 An: [EMAIL PROTECTED] Betreff: Re: AW: AW: Co

Command line pb

2001-11-16 Thread cib
Hi I'm using c-2.0rc1 on win95 with Tomcat4 and j2sdk1.4.0   I tried this: G:\Tomcat\webapps\cocoon>java -jar G:\Tomcat\webapps\cocoon\WEB-INF\lib\cocoon-2.0rc1.jar http://localhost:8080/cocoon/test/set.html yyy.html   And got an enormous debug 10059 file ending with: (same result with Tomcat

RE: including HTML formatting in SAX events (Cocoon 2)

2001-11-16 Thread Luca Morandini
Liam, I think you should use the attribute disable-output-escaping (with the value of "yes") in elements of your XSL. Best regards, P.S. Please, use plain text next time. - Luca Morandini GIS Consultant

including HTML formatting in SAX events (Cocoon 2)

2001-11-16 Thread Liam Morley
I'm storing news articles in a database. These news articles have HTML formatting already in them, which I'd like to display. However, when I send them as SAX events, the characters are converted to </>; respectively, and so the HTML tags are displayed on the page itself. How do I work

Re: Transformers vs. Generators

2001-11-16 Thread Jozsa Kristof
On Thu, Nov 15, 2001 at 03:31:09PM -0500, Peter Royal wrote: > On Thursday 15 November 2001 03:13 pm, you wrote: > > Peter, exactly where had you put your own Transformers? I've tried to put > > it in my own package (not in org.apache.cocoon.transformation), jar-ed it > > correctly, dropped the ja

RE: Xinclude Example?

2001-11-16 Thread thorsten . sommer
As an example of use cocoon2/webapp/stylesheet/dynamic-page2html.xsl. But I don't know anything about Xinclude or . But if is analogous to in Cocoon1, then you would have the possiblity to include one xsl-Tree (represented by an uri) into another one - in contrast to which is used (more or les

Re: Xinclude Example?

2001-11-16 Thread Tomas Espeleta
> - Are there any examples for using Xinclude with cocoon2? Don't know, I'm using Cocoon1 > - Has the command "util:include-uri" the same behaviour as Xinclude? As far as I know, Xinclude is a "transformer", http://xml.apache.org/cocoon2/userdocs/transformers/xinclude-transformer.htm l, while u

Re: XSP namespace question

2001-11-16 Thread Jörg Heinicke
Hi David, in XSLT there is an attribute of called 'exclude-result-prefixes'. I don't think that this will work already on the XSP, but at least in your XSL. Give it a try: It's a whitespace-separated list. If this doesn't work (because you only copy the node), try instead of . It gives the

Xinclude Example?

2001-11-16 Thread Johannes Schwarz
Hi! - Are there any examples for using Xinclude with cocoon2? - Has the command "util:include-uri" the same behaviour as Xinclude? WIKA Alexander Wiegand GmbH & Co. KG Johannes Schwarz Tel.: +49 9372 132 657 Fax: +49 09372 132 197 email: [EMAIL PROTECTED] ---

Cocoon and WEBSPHERE 3.5 Fixpack 3.4.2

2001-11-16 Thread Ducret, Gilles (CH)
Title: Cocoon and WEBSPHERE 3.5 Fixpack 3.4.2 Hello, We are experiencing a lot of problem on installing Cocoon on Websphere 3.5. If we don't use the Websphere 3.4.2 of websphere, we have the following behaviour:     - Cocoon 1.8 works fine     - Cocoon 2.0 doesn't work. Cocoon serv

XSP namespace question

2001-11-16 Thread David Rosenstrauch
Given an xsp page like this: http://apache.org/xsp"; language="java" > Cocoon seems to be giving me output like this: http://apache.org/xsp"/> Is it necessary though that the namespace declaration get copied to the output? It's certainly not necessary any longer once the X

Re: AW: AW: Tag ?

2001-11-16 Thread David Rosenstrauch
Read the Cocoon documentation about "Selectors". DR At 07:48 AM 11/16/01 +0100, you wrote: >Thanks a lot David, > >this is exactly what I'm looking for. Do you know, ware I can find some more >Information's or examples about it. In standard cocoon I can't find a >working example for map:select