actions using XML

2002-01-23 Thread RAJU RAO
Hi to All, We have been using C2 for the last many weeks. We have a peculiar need. Our application has two interfaces. One is pure html and the other is Flash. The buttons on the form of our web applications call up actions defined in C2 and via the pipeline work as desired. These are Java code

Re: Servlet to XSL possible?

2002-01-23 Thread Bob Garvey
Sorry it took so long to respond. The servlet works. Yes. But the output never hits cocoon so the sitemap entry is never operative. The response is returned to the requestor like David mentioned. Frankly the capability of outputting from a servlet to an XSL process is the first that I thought of t

JDK 1.4 pre

2002-01-23 Thread Alex Kachanov
hello! It looks like smth. is wrong. Cocoon cannot run with the latest release of JDK 1.4 Pre from Sun. I get such messages like: Invalid class file format in F:\jdk\jre\lib\rt.jar(java/io/OutputStream.class). The major.minor version '48.0' is too recent for this tool to understand. HELP!

RE: serving non xml content

2002-01-23 Thread Vadim Gritsenko
> From: icewind0 [mailto:[EMAIL PROTECTED]] > > Hello, > > What is the correct way to serve non xml content with cocoon? For > example, if I have a directory that I just want served as is (images, > html, etc) how do I tell cocoon to do that? Will it serve these things > by default (it doesn't s

serving non xml content

2002-01-23 Thread icewind0
Hello, What is the correct way to serve non xml content with cocoon? For example, if I have a directory that I just want served as is (images, html, etc) how do I tell cocoon to do that? Will it serve these things by default (it doesn't seem to) or does everything that you want served have to be

Newbie FAQ, Re: Just starting COCOON

2002-01-23 Thread Vadim Gritsenko
Some more comments to follow Roger's email: I tried Cocoon binary download ... and it worked. Assuming that you have: 1. Servlet engine - Tomcat 4.0, Tomcat 3.3, or Resin 2.0.4 2. Windows machine or *NIX with X running (it is the case for the development machine, isn't it?) You have to just dro

RE: Recursive XInclude

2002-01-23 Thread Vadim Gritsenko
You are free to implement missing functionality into existing transformer and propose a patch :) If it considered viable it will make into the CVS.   Vadim   -Original Message- From: Michael Wechner [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 23, 2002 8:53 PM To: [EM

Re: Recursive XInclude

2002-01-23 Thread Michael Wechner
Thanks a lot for your help Vadim. That's the way it worked: xml:base="http://slashdot.org" href="/slashdot.xml"/> xml:base="cocoon:" href="/live/sections/al/section.xml#xpointer(/section/article[1])"/> But having the "cocoon" protocol in there to be able to resolve xi:iclude recursively isn't

RE: Recursive XInclude

2002-01-23 Thread Vadim Gritsenko
>>> From: Michael Wechner [mailto:[EMAIL PROTECTED]] Thanks Vadim, but the XInclude Transformer does not interpret cocoon: as a protocol, but rather as a filesystem path. I have the same problem with http://slashdot.org/slashdot.xml"/> It says: Resource can't be found. I remember there was a t

Re: Recursive XInclude

2002-01-23 Thread Michael Wechner
Thanks Vadim, but the XInclude Transformer does not interpret cocoon: as a protocol, but rather as a filesystem path. I have the same problem with "http://slashdot.org/slashdot.xml"/> It says: Resource can't be found. I remember there was a thread in the mailing list about something like that,

RE: Recursive XInclude

2002-01-23 Thread Vadim Gritsenko
> From: Michael Wechner [mailto:[EMAIL PROTECTED]] > > Hi > > Does anybody know if the XInclude Transformer is actually resolving the > "xi:include" recursively? No. > I tried something like that: > > department.xml: > xi:include href="group.xml" > > group.xml: > xi:include href="member.

RE: Cocoon2 and non-English characters in jsp

2002-01-23 Thread Vadim Gritsenko
What Cocoon version do you have? Only Cocoon post-2.0 release from CVS have correct handling of JSP encoding. (See http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/changes.xml?rev=1.75&conte nt-type=text/vnd.viewcvs-markup, first mention of JSPEngine) Vadim > -Original Message- > From: Gas

Recursive XInclude

2002-01-23 Thread Michael Wechner
Hi Does anybody know if the XInclude Transformer is actually resolving the "xi:include" recursively? I tried something like that: department.xml: xi:include href="group.xml" group.xml: xi:include href="member.xml" member.xml: Michael and got the following result: department.xml: x

Re: Cocoon2 and non-English characters in jsp

2002-01-23 Thread Gasper
The encoding for a jsp is done like this: <%@page contentType="text/html; charset=iso-8859-2"%> But this does not help. On top of my jsp doesn't help either. I've also tried the following in my sitemap.xmap but with no success. iso-8859-2 Any other ideas? Thanks very much. Gaspe

Re: problem with stylesheet aggregation

2002-01-23 Thread Christian Zoffoli
Vadim Gritsenko wrote: > [cut] > > > > > > now there's another problem ... all is prefixed by "xsl" > > > > - > > > > http://www.w3.org/1999/XSL/Transform";> > > > > > > > xmlns:xsl="http://www.w3.org/1999/XSL/Transform";> > > > > > > > > > > This looks weird :))) > > Do you

RE: Cocoon2 and non-English characters in jsp

2002-01-23 Thread Peter Schwenke
Have you put the following in your JSP as the first line of output? ...Peter Vadim Gritsenko writes: > > From: Gasper [mailto:[EMAIL PROTECTED]] > > > > Hello > > > > If I use non-English characters in my jsp's, the

Re: Problems, switching off svg

2002-01-23 Thread Koen Pellegrims
We have had the same problem. We solved it by installing Xvfb, which is a virtual framebuffer. It acts as an Xserver, without an actual display connected to it. Once you get it up-and-running on Solaris you go: "Xvfb :0 &" to start it on (non-existant) display 0 if your DISPLAY is set to localh

RE: Problems, switching off svg

2002-01-23 Thread Vadim Gritsenko
> From: Martijn Bouterse [mailto:[EMAIL PROTECTED]] > > > Henrik Hofmann wrote: > > > > I'm trying to get Cocoon 2.0 running on a solaris server. This server > > has no x server installed, and installing ist isn't a possibility. I > > tried to remove the svg serializers from the sitemap, and also

RE: Servlet to XSL possible?

2002-01-23 Thread Vadim Gritsenko
> From: David Rosenstrauch [mailto:[EMAIL PROTECTED]] > > Vadim, > > I don't think that will work. > > The servlet will write (xml) directly to the http response's output stream, > instead of sending the xml to a content handler (the pipeline) for > transformation and eventual serialization. C

Re: Problems, switching off svg

2002-01-23 Thread Martijn Bouterse
> Henrik Hofmann wrote: > > I'm trying to get Cocoon 2.0 running on a solaris server. This server > has no x server installed, and installing ist isn't a possibility. I > tried to remove the svg serializers from the sitemap, and also from > the pipeline. But it still tries to load one. > There are

RE: Is memory leak problem fixed in the latest Cocoon release?

2002-01-23 Thread Vadim Gritsenko
> From: CHEN, YING [mailto:[EMAIL PROTECTED]] > > Hi, > We are evaluating Cocoon. I would appreciate it if I could get more > information on memory leak issue of Cocoon from this mailing list. > > Has anyone on the list ever have the memory leak problem with Cocoon 1.8? There were no reports on

Cocoon 1.8.2 and XSP caching

2002-01-23 Thread Ronald Ifferte
Title: Cocoon 1.8.2 and XSP caching Hello, I am trying to implement caching on an XSP page using the tag within the node in Cocoon 1.8.2. The XSP page does not seem to be caching. I even went on to implementing hasChanged to return false (to always cache) like so: public boolean ha

RE: Servlet to XSL possible?

2002-01-23 Thread David Rosenstrauch
Vadim, I don't think that will work. The servlet will write (xml) directly to the http response's output stream, instead of sending the xml to a content handler (the pipeline) for transformation and eventual serialization. DR At 03:44 PM 1/23/02 -0500, you wrote: >Bob, > >Hey, stop right h

RE: XML -> XSP

2002-01-23 Thread Vadim Gritsenko
> From: Jean-Philippe Courson [mailto:[EMAIL PROTECTED]] > > Hi, > > I would like to know how I can do with Cocoon 2 to process XML documents > throw XSP as I was doing with Cocoon 1. > > Which sort of thing should I add to the sitemap file ? > > Any help would be appreciated Here it is:

RE: Servlet to XSL possible?

2002-01-23 Thread Vadim Gritsenko
Bob, Hey, stop right here... Your servlet works, right? Invoking: http://cb:8080/examples/servlet/servlet23.BobServlet should return XML from your servlet, right? Then next step: pipe servlet output into Coocon. You have Cocoon deployed in tomcat under, say, cocoon: http://cb:8080/cocoon/welco

RE: Cocoon2 and non-English characters in jsp

2002-01-23 Thread Vadim Gritsenko
> From: Gasper [mailto:[EMAIL PROTECTED]] > > Hello > > If I use non-English characters in my jsp's, they appear in the browser as > question marks. > > How can I specify the encoding for my page served by cocoon2? First you have to define encoding in your JSP source file. Look into JSP spec f

RE: problem with stylesheet aggregation

2002-01-23 Thread Vadim Gritsenko
> From: root [mailto:root] On Behalf Of Christian Zoffoli > > Vadim Gritsenko wrote: > > > > > From: root [mailto:root] On Behalf Of Christian Zoffoli > > > > > > Hi to all. > > > > > > ...I tried to aggregate two stylesheets ...but the aggregated xsl > > > doesn't work fine > > > > > [cut] > >

RE: My Cocoon Tutorial is Online!

2002-01-23 Thread Marty McClelland
Title: Message Hello Andreas -   I am getting a page not found error for your tutorial.  Has the tutorial moved?  I know it was there last week - as I looked at the site and found it useful.   enjoy the day - marty -Original Message-From: Andreas Hartmann [mailto:[EMAIL PRO

Re: Servlet to XSL possible?

2002-01-23 Thread David Rosenstrauch
Glad I could help Bob. Xalan approach certainly sounds do-able and (arguably) looks simpler. Drawbacks are: * that you're reinventing the wheel somewhat (after all, one of cocoon's core functions is to be a servlet that performs XSLT transforms) * you lose some of the architectural/conceptual

Tutorial webapp missing

2002-01-23 Thread Joseph Rajkumar
Hi Folks I retrieved the latest cocoon-2 from CVS and built and am running it. Under "tutorial" and in the page "How to build web applications", there is mention about a "build tutorialwebapp" for the example given on that page, I am unable to find how to build it, please let me know how

Question - Problem

2002-01-23 Thread Anthony Diodato
Hello All, Here is my scenario. I have Tomcat 3.2.4 running on IIS 5.0 I have an html page as my entrance to the website. (http://www.domainname.com/index.html) On this site is a form to login, with you user name and password. When the user clicks submit, they get sent to a servlet that I wrote

Re: Servlet to XSL possible?

2002-01-23 Thread Bob Garvey
David, Thanks for your thoughts. I am going to digest what you suggest further. I think another approach that is clean, albeit no Cocoon, is to leave it as a servlet, and use xalan directly - something like: // instantiate a TransformerFactory javax.xml.transform.TransformerFact