Re: how to pass XML as a string to cocoon servlet?

2001-07-27 Thread Thangadurai
Hi Sergio Carvalho, I am also expecting answer for this question, My java code is nothing but a Java Bean. How can I do that Hope to get answer for this... Sergio Carvalho wrote: > What is you java code? A Servlet? An ejb? A command-line app? Answers are > different for each case.

[C2b1] sitemap and subsitemaps

2001-07-27 Thread Drasko Kokic
Is it possible that in each of the sub sitemaps it is neccessary to specify the entries for ?!?! Reading the following entries: I wrongly believed that the definitions for the specific components are being INHERITED from the main sitemap. Could anybody explain, why is it not the

Re: serialization

2001-07-27 Thread java guru
May be these suggestions are too primitive..but try if u want... 1. ur requirement i guess to trigger writing of xml file out to disk on server by a http request.. 2. Now what do u plan to send as response to http request?.. 3. If u still want to write from xsp to disk..then you might as well l

RE: ProducerFromRequest

2001-07-27 Thread Jay Doggett
html won't do what java can in a servlet. They aren't even in the same ballpark. Jay -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, July 27, 2001 4:13 AM To: [EMAIL PROTECTED] Subject: Re: ProducerFromRequest Jay Doggett wrote: > >

Re: C2 using X11

2001-07-27 Thread Marcus Crafter
On Fri, 27 Jul 2001, Sergio Carvalho wrote: > Is there a FAQ entry for this question? It's a very frequent one... It is in the C2 faq in CVS. > Three options: > 1) Lose batik, if you don't need it. Delete the related serializers and related > pipelines from the sitemap and C2 sho

Re: serialization

2001-07-27 Thread Drasko Kokic
Please, don't repost your question every day --- sushil Bhattarai <[EMAIL PROTECTED]> wrote: > I'm sending this again..Hope to get some reply this > time. Thanks > > > >Hello, > > > >I am using a xsp page which outputs xml upon > processing. I want to save the > >output xml in the server inste

[VOTE?] RE: Processing Time in last line in C2 like in 1.8?

2001-07-27 Thread Vadim Gritsenko
I added show-time parameter to web.xml in HEAD branch. (This preserves existing functionality of cocoon-showtime parameter which is given higher priority) Shall we add this parameter to 2.0 also? Vadim > -Original Message- > From: Carsten Ziegeler [mailto:[EMAIL PROTECTED]] > Sent: M

RE: include html file into .xsl

2001-07-27 Thread Darrel Riekhof
What about PDF? Say you have a chunk of not well-formed HTML that you want to include as part of a page. I can see how the xsl:output tag would solve the problem for html output, but what if you also need to support PDF. Is there a way to get FOP to recognize a chunk as html and mark it up in t

request authentication using cocoon2

2001-07-27 Thread java guru
Hi., I am looking for kida request authentication for the user. I mean to allow user to get back the response for a request only if the user is authenticated to access the uri.. is there anyway to implement this in cocoon2 without actually using the authentication code in xsp? TIA = Thank

Re: C2 using X11

2001-07-27 Thread Sergio Carvalho
Is there a FAQ entry for this question? It's a very frequent one... Three options: 1) Lose batik, if you don't need it. Delete the related serializers and related pipelines from the sitemap and C2 should work without X. 2) Xvfb. Xvfb allows you to run a virtual X server, with no graphics

Re: how to pass XML as a string to cocoon servlet?

2001-07-27 Thread Sergio Carvalho
What is you java code? A Servlet? An ejb? A command-line app? Answers are different for each case. On Thu, 26 Jul 2001 17:48:29 -0600, Bala Sadras <[EMAIL PROTECTED]> wrote: -- > Hi, > > My java code generates xml dynamically, which I want to pass on to cocoon > servlet to convert it to html

RE: Trouble getting Cocoon2 to work...

2001-07-27 Thread Hewko, Doug
Thanks for the reply. I am not sure I understand. In my Cocoon2\lib directory, do I change "xerces_1_4_1.jar" to ".xerces_1_4_1.jar"? I did try that and Windows NT doesn't like it. Or should I add ".;" to the beginning of my CLASSPATH (which would be ".;c:\Xerces\xerces-1_4_2\xerces.jar;c:\Xerce

Re: ProducerFromRequest

2001-07-27 Thread Sergio Carvalho
The easiest way out is to make an HTTP request to the same host. Since you already have a Servlet container, everything is available to install C2 as a servlet. If, for some reason you don't want to, there are two clear options: 1) Setup a pseudo-command line request. Have a look at the comman

Re: include html file into .xsl

2001-07-27 Thread Olga Agady
Hi, Look at the element . it allows to include not wel-formed HTML code in xsl file. Regards --- Sergio <[EMAIL PROTECTED]> wrote: > hi > > how can I, include a file into an xsp.xsl file?? > > I want include a part of code into the xsl file. > I don't want include a tree with its nodes. My

Re: Trouble getting Cocoon2 to work...

2001-07-27 Thread Dave Smith
I think it has to be first in tomcat's classpath. Change the name of the jar file that contains Xerces so it starts with a. Then it will be loaded into your classpath first Hewko, Doug wrote: > Help! > > I think I have Tomcat working... I get the default page when I type > "http://localhost:8

Trouble getting Cocoon2 to work...

2001-07-27 Thread Hewko, Doug
Help! I think I have Tomcat working... I get the default page when I type "http://localhost:8080/";. But "http://localhost:8080/cocoon"; is giving me the exception "org.apache.avalon.framework.configuration.ConfigurationException: Error trying to load configurations" and embedded exception "org.x

Re: C2 using X11

2001-07-27 Thread Dave Smith
In short... thnaks, xvfb did the trick. java guru wrote: > Hi., > In short, use xvfb..look for more info in the > mailing list archives... > > > --- Dave Smith <[EMAIL PROTECTED]> wrote: > Well > I got c2 ruuning with jetty (rm > >>javax.xml.jaxp.jar and >>org.apache.crimson.jar from the l

RE: Problems running Cocoon2

2001-07-27 Thread Hewko, Doug
Thanks for the reply. First, please be patient with me. This type of system configuration is new to me. My servlet is Tomcat 3.2.3. -Original Message- From: Jon Peterson [mailto:[EMAIL PROTECTED]] Sent: July 27, 2001 10:56 AM To: [EMAIL PROTECTED] Subject: Re: Problems running Cocoon2

Re: Problems running Cocoon2

2001-07-27 Thread Jon Peterson
What servlet engine are you using? You may want to run your engine's "snoop" servlet to see the order of the classpath. The Xerces jar contains org.xml.sax classes which may also be included in other jars higher in the classpath. You'll need to be sure the Xerces version of org.xml.sax is loade

RE: Problems running Cocoon2

2001-07-27 Thread Hewko, Doug
Hi! Just in case it helps; here are the system environments that I had set up for Cocoon2: TOMCAT_HOME = c:\tomcat\jakarta-tomcat-3.2.3 JAVA_HOME = c:\jdk1.2.2\jre CLASSPATH = c:\Xerces\xerces-1_4_2\xerces.jar;c:\Xerces\xerces-1_4_2\xercesSamples.jar -Original Message- From: Hewko, Doug

RE: Problems running Cocoon2

2001-07-27 Thread Hewko, Doug
Thanks. I added "c:\xerces\xerces-1_4_2\xerces.jar" to the start of my CLASSPATH without any luck. There are two JAR files in that directory; xerces and xercesSamples. Did I enter the path incorrectly? -Original Message- From: Jon Peterson [mailto:[EMAIL PROTECTED]] Sent: July 27, 2001

Re: Problems running Cocoon2

2001-07-27 Thread Jon Peterson
The Xerces library is not being loaded correctly. Please refer to http://xml.apache.org/cocoon2/faq.html#faq-9 for further info. Jon - Original Message - From: "Hewko, Doug" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 27, 2001 10:14 AM Subject: Problems running Cocoon2

Re: serialization

2001-07-27 Thread sushil Bhattarai
I'm sending this again..Hope to get some reply this time. Thanks >Hello, > >I am using a xsp page which outputs xml upon processing. I want to save the >output xml in the server instead of just viewing it in the browser. What >change do I need to make in the C2 sitemap so that the >output is sa

Re: [c2][patch] RE: ESQL : No, my problem isn't with mutual exclusivity

2001-07-27 Thread Enke Michael
Hi Thorsten, I followed the discussion about esql:no-results In the beta1 release it was ok, if no rows the no-results content was in the tree, otherwise not. But now it is inverted. With beta2 also after applying your patch to esql.xsl I get the content of no-results if the query returns results

Problems running Cocoon2

2001-07-27 Thread Hewko, Doug
Help! I am trying to get Cocoon2 to work and am getting the following error: ** START OF ERROR MESSAGE *** type internal-servlet-error message Internal servlet error description Cocoon was not initialized. sender org.apache.cocoon.servlet.Coc

Re: C2 using X11

2001-07-27 Thread java guru
Hi., In short, use xvfb..look for more info in the mailing list archives... --- Dave Smith <[EMAIL PROTECTED]> wrote: > Well I got c2 ruuning with jetty (rm > javax.xml.jaxp.jar and > org.apache.crimson.jar from the lib directory and > add xerces_1_4_1.jar) > but now I am having another prob

C2 using X11

2001-07-27 Thread Dave Smith
Well I got c2 ruuning with jetty (rm javax.xml.jaxp.jar and org.apache.crimson.jar from the lib directory and add xerces_1_4_1.jar) but now I am having another problem. I guess in the default config it uses svgxml,svg2jpeg .. etc and it must use the native java awt libraries that need to connec

RE: [C2] Postgresql - pool works with ESQL Logicsheet, but not with SQLTransformer

2001-07-27 Thread Beauprez Sven
Check the log-files, there you can trace what the SQLTransformer did exactly. Check especially if there is a problem with the preparedStatement, if so, you should upgrade to a full jdbc compliant driver. (i know that there are problems with these drivers in the past) Also check the mail-archive

RE: C1: problem with FOR STATEMENT

2001-07-27 Thread JEULIN Olivier
Take a look at the generated java file around the line 6735: you will probably see that part of your code is interpreted as text (-> put in a text node!). Surround your code with another inside -Message d'origine- De : Simone Bortolaso [mailto:[EMAIL PROTECTED]] Envoyé : vendredi 27 jui

Re: [C1] new SVG formatter

2001-07-27 Thread Ulrich Mayring
Sylvain Wallez wrote: > > It's in the CVS along with the new "batik-libs.jar" and "dom2.jar" > libraries that are required for it to work. The javadoc > (org.apache.cocoon.formatter.SVGFormatter) contains the instructions to > add it to your environment. Cool, perhaps there could be a new releas

C1: problem with FOR STATEMENT

2001-07-27 Thread Simone Bortolaso
Why cocoon take this error     Java.lang.Exception: XSP Java Compiler: Compilation failled for _myindex.java     6735: Undefined variable: numcurves xspExpr(numcurves,document)      in the nested statement:          for(int subsection = 0; subse

[C1] new SVG formatter

2001-07-27 Thread Sylvain Wallez
Hi all, For a "legacy" project using Cocoon 1, I needed to produce jpeg images from SVG. So I added a new formatter using Batik as the rendering engine, adapted from Cocoon2's SVG serializer. It's in the CVS along with the new "batik-libs.jar" and "dom2.jar" libraries that are required for it to

Re: using/resolving xllinks

2001-07-27 Thread Alexander Thomas
On Friday 27 July 2001 01:35, you wrote: > At 9:33 AM -0700 27/7/01, Alexander Thomas wrote: > >Hi there! > > > >My problem: > >Under cocoon is a xml file looking like this: > > > >http://www.w3.org/1999/xlink";> > > > > > > > >There is also a file named target.xml in the same directory: > > > >

Re: using/resolving xllinks

2001-07-27 Thread Jeremy Quinn
At 10:40 AM +0200 27/7/01, Ulrich Mayring wrote: >Jeremy Quinn wrote: >> >> I XInclude the LinkBase into all of my documents, then use a StyleSheet to >> resolve the links. > >Do you think this is particularly elegant? What about content >aggregation instead? yes, that would work too I used XInc

[C2] Postgresql - pool works with ESQL Logicsheet, but not with SQLTransformer

2001-07-27 Thread Tiberiu DONDERA
Hello, My configuration: RedHat 7.1, C2b1, Resin. What I do: I load the postgresql Driver (org.postgresql.Driver, compiled "on site") I create a pool connection to a database: (cocoon.xconf) jdbc:postgresql://localhost:5432/mydb user pass (just as a paranth

include html file into .xsl

2001-07-27 Thread Sergio
hi how can I, include a file into an xsp.xsl file?? I want include a part of code into the xsl file. I don't want include a tree with its nodes. My idea is include a part of an .html file, and this part not is a well formed XML document. ---

Re: using/resolving xllinks

2001-07-27 Thread Ulrich Mayring
Jeremy Quinn wrote: > > I XInclude the LinkBase into all of my documents, then use a StyleSheet to > resolve the links. Do you think this is particularly elegant? What about content aggregation instead? Ulrich -- Ulrich Mayring DENIC eG, Systementwicklung

Re: using/resolving xllinks

2001-07-27 Thread Jeremy Quinn
At 9:33 AM -0700 27/7/01, Alexander Thomas wrote: >Hi there! > >My problem: >Under cocoon is a xml file looking like this: > >http://www.w3.org/1999/xlink";> > > > >There is also a file named target.xml in the same directory: > > > The content of the link. > > >The sitemapentry is set up like th

Re: ProducerFromRequest

2001-07-27 Thread Ulrich Mayring
Jay Doggett wrote: > > Using ProducerFromRequest allows one to use dynamic xml. So does using HTTP. Ulrich -- Ulrich Mayring DENIC eG, Systementwicklung - Please check that your question has not already been answere

RE: [C2] with Tomcat 3.2.1 under Solaris 2.6

2001-07-27 Thread Bentley, Tim
Cassandra - > Not sure if you've already figured out your problem, but I finally > got mine running (sort of) :-), so i thought i'd suggest a couple of > things... No - as per my previous post, I'm laying off 'til I know the OS is set up properly for Java. > 1. Are your org.apache.cocoon.www.

RE: [C2] with Tomcat 3.2.1 under Solaris 2.6

2001-07-27 Thread Cassandra Bonner
Hi Tim, Not sure if you've already figured out your problem, but I finally got mine running (sort of) :-), so i thought i'd suggest a couple of things... 1. Are your org.apache.cocoon.www.sitemap_xmap classes actually getting created under... /local/jakarta-tomcat-3.2.2/work/localhost_8080%2Fc

using/resolving xllinks

2001-07-27 Thread Alexander Thomas
Hi there! My problem: Under cocoon is a xml file looking like this: http://www.w3.org/1999/xlink";> There is also a file named target.xml in the same directory: The content of the link. The sitemapentry is set up like this: