[C2] Where's the bug?

2001-06-26 Thread Jörn Heid
I want to remove newlines (or spaces) from my output. It seems the HTML serializer causes the problem (Xalan commandline, xml-serializer work correctly)... With this stylesheet JOERN_HEID - Please check that your que

Re: org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not available.

2001-06-26 Thread S.J.Chun
For me, adding cocoon classes into the system classpath or servlet engine's classpath solves this problem. Tomcat 4.0 aka Catalina runs well without this kind of problem. So, the servlet engine's classloader has this problem, I think. - Original Message - From: "florent barbare" <

Cocoon as a web reporting engine

2001-06-26 Thread Darrel Riekhof
Hello, Background: We've been looking for some tool to help us publish reports on the web. We have evaluted several Java reporting engines (Actuate, Crystal Reports, Inetsoft StyleReport, JReport), but we can't find one we really like. We're currently using Inetsoft's StyleReport, but are frus

Re: cocoon.log

2001-06-26 Thread giacomo
On Tue, 26 Jun 2001, RAO,YENUGANTI (Non-HP-Cupertino,ex1) wrote: > Hi > > I just installed the product. after going to the welcome page,i saw this > out put in cocoon.log, Is it a serious error ?. How do I solve this problem. > It's not a serious problem. Only the database samples will not be us

Re: XML->XSP->XML->HTML

2001-06-26 Thread giacomo
On Tue, 26 Jun 2001, franck delarue wrote: > hi, > I want to produce a XSP file with a XML and a XSL > file, and that the XSP file generates an other xml > file. But I don't know how to configure the file > sitemap.xmap. > This is what I have done to configure the sitemap but > it doesn't work :

Re: XML->XSP->XML->HTML

2001-06-26 Thread giacomo
On Tue, 26 Jun 2001, Don Wellington wrote: > My question is why? > > Is there some reason an XSP transformer cannot be > written? > > If not, I might take the time to write one. Would be cool, but also kinda tricky ;) Giacomo > > Don > > --- Peter Nuetzel - inglobo <[EMAIL PROTECTED]> > wrote:

Re: AW: PDF in IE revisited

2001-06-26 Thread Uli Mayring
On Tue, 26 Jun 2001, Stefan Seifert wrote: > Is it possible to output PDF as binary from Cocoon 2? Is there any > solution for this problem in sight (it seemed solved in Cocoon 1.8 with > the .pdf-Fix)? Actually there's a page at MSDN (don't have the URL handy right now) where it is exactly desc

How to use sessions in Cocoon2

2001-06-26 Thread Anthony Mills
Hello,     How does one do this:       SomeClass sc = (SomeClass)session.getAttribute( "sc" );       session.setAttribute( "sc", sc );   The session logicsheet does not seem to work if you use anything but strings.  For now I am having to embed the correct code into my XSP page.  And the

VoiceXML - saving audio files

2001-06-26 Thread Anand, Anju
There was a thread on saving audio files. I was wondering if there was any reply to this. thanks anju - Please check that your question has not already been answered in the FAQ before posting.

Bug in C2b1 ?

2001-06-26 Thread Luca Morandini
Folks, I've added the empty-taglib sample (thanks Gary !) and I went about my business. After I while I deleted it from cocoon.xconf and sitemap.xmap and then: none of my XSP pages worked anymore :( After a looong while I tried to delete the files generated in the work d

Re: XML->XSP->XML->HTML

2001-06-26 Thread Don Wellington
My question is why? Is there some reason an XSP transformer cannot be written? If not, I might take the time to write one. Don --- Peter Nuetzel - inglobo <[EMAIL PROTECTED]> wrote: > AFAIK this is not possible with Cocoon2. Currently > XSP can only be used as > Generator. > > - peter > >

[C2] www-form-data with cocoon .. bugs in maybeupload

2001-06-26 Thread Samuel ARNOD-PRIN
Hello, who does use maybeupload well with C2 ?? because I've got a few errors... - first, my textarea are without the originated CR-LF ... french character are modified - secondly, from IE5 on Mac, I don't receive image params (param.x and param.y of an input type=image) - third, how to put thi

AW: PDF in IE revisited

2001-06-26 Thread Stefan Seifert
... > Note that binary PDFs (like any binary format) probably work. The > security filter apparently only checks ASCII type of data, my guess is > that it looks for malicious scripting code. > > Ulrich Is it possible to output PDF as binary from Cocoon 2? Is there any solution for this problem

cocoon.log

2001-06-26 Thread RAO,YENUGANTI (Non-HP-Cupertino,ex1)
Hi I just installed the product. after going to the welcome page,i saw this out put in cocoon.log, Is it a serious error ?. How do I solve this problem. DEBUG 99358 [cocoon ] (Thread-24): org.apache.avalon.excalibur.datasource.JdbcConnection: could not be instantiated. java.sql.SQLExcep

RE: XML->XSP->XML->HTML

2001-06-26 Thread Luca Morandini
Franck, if I got it right, you have a doc.xml file with some tags (referring to the doc.xsl logicsheet) and want to produce an HTML file... is that so ? Well, if so, you have to declare the logicsheet namespace in the doc.xml and change your sitemap to resemble this:

Error in import

2001-06-26 Thread Fang Huang
Hi, how should I use my own class in xsp? I wrote MyJavaClass but got the exception: Class MyJavaClass not found in import. I have set classpath to current directory, what should I do? thanks. Fang - Please check

Re: XML->XSP->XML->HTML

2001-06-26 Thread Peter Nuetzel - inglobo
AFAIK this is not possible with Cocoon2. Currently XSP can only be used as Generator. - peter -Ursprüngliche Nachricht- Von: franck delarue <[EMAIL PROTECTED]> An: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Datum: Dienstag, 26. Juni 2001 19:40 Betreff: XML->XSP->XML->HTML >hi, >I want to p

RE: Is SQLTransformer gonna be there?..Re: SQL Transfomer

2001-06-26 Thread Beauprez Sven
Mr. guru, If it is up to me, the SQLTransformer will never be depricated ;-). But the functionallity might slightly change and the implementation might be completly redone if necessary as long as the usage stays the same (i am not planning to change anything, but someone might be...). I never h

XML->XSP->XML->HTML

2001-06-26 Thread franck delarue
hi, I want to produce a XSP file with a XML and a XSL file, and that the XSP file generates an other xml file. But I don't know how to configure the file sitemap.xmap. This is what I have done to configure the sitemap but it doesn't work : I work on linux redhat, with the

RE: Is SQLTransformer gonna be there?..Re: SQL Transfomer

2001-06-26 Thread Vadim Gritsenko
> -Original Message- > From: java guru [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 26, 2001 11:31 > To: [EMAIL PROTECTED] > Subject: Is SQLTransformer gonna be there?..Re: SQL Transfomer > > > This may look like newbie question..but is > SQLTransformer and taglib gonna continue or >

Re: how can I redirect my Result ? Using fp tag

2001-06-26 Thread Gustavo Mejia
HELLO, I know, here Gustavo the trouble, jeje.. well, here you have a small java code that helps to access and save the query result, mm.. well you can access any URL, but it help me for my intentions, I had to do this because I couldn't use fp tag. import java.io.*; import java.net.*; public cla

help reg...sqltranformer

2001-06-26 Thread java guru
Hi., I am trying the sql tranformer example ...and nothing ever show up..i actually see my query as it is "select *" on to the screen.. The connection pool is properly defined and the esql example works but not the sql example... Please help.. Thanks __

RE: Does cache work in Cocoon 1.8.2 on Tomcat 3.2.1?

2001-06-26 Thread JEULIN Olivier
You're right, it doesn't work. You've found a bug :-/ I haven't found it in the bug database (but you may want to check again; see it in the 'bug database' section of cocoon's homepage). I'll let you submit it, to take ll credit for it... Fame starts small ;) > -Message d'origine- > D

Re: Re[4]: How to use

2001-06-26 Thread Daniel Pfuhl
--- Zeljko Rajic <[EMAIL PROTECTED]> schrieb: > Hi Daniel, > > on Monday, June 25, 2001, you wrote: > > >> > did you specify the Namespaces and the > programming > >> > language in your xsp-file correctly ? > >> > >> > e.g. like this: > >> > >> > >> > language="java" > >> > xmlns:xsp="http:/

esql:get-xml and external entities

2001-06-26 Thread Lionel Barth
Hello, I use cocoon 1.8.2, tomcat 3.2.2, apache 1.3.20 and postgres 7.1.2 I have xml fragments in the database. I use esql taglib to extract fragments: select get_otsi('') All works fine until I have external entities referenc

Is SQLTransformer gonna be there?..Re: SQL Transfomer

2001-06-26 Thread java guru
This may look like newbie question..but is SQLTransformer and taglib gonna continue or deprecated??? What about esql..what is the difference. And finally i could never run the sql-page.xml example from cocoon2 to work..i dont know whats the problem.i could run esql example successful..

RE: Does cache work in Cocoon 1.8.2 on Tomcat 3.2.1?

2001-06-26 Thread bhj
Thank you very much. Now I managed to get the "from cache" in the bottom :-) In IE5.5 it is not enough to left-shift and reload - you have to use the menu: InternetOptions/DeleteFiles - now I know that. But why can the same page NOT be cached in both IE and Netscape? I understand that the page

[c2] ESQL, get-xml and entities like  

2001-06-26 Thread Stefan Seifert
I use ESQL and get-xml to get XHTML-Fragments from the database. The Problem: The XHTML conatins sometimes entities like  , which are vaild for XTHML, but not for XML. In an XSL-Stylesheet i can use a statement like http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent";> %HTMLlat1; ]> to integrat

RE: Does cache work in Cocoon 1.8.2 on Tomcat 3.2.1?

2001-06-26 Thread JEULIN Olivier
Yup, "...served from cache in 1 ms..." My advices are: 1) (how could I forget this one) clear your browser's cache... ! I've try it right now: IE was reading the old file. I bet 1 euro on this one ;) 2) if you have invalidated the cache while developping you app., restart cocoon to be sure the ne

org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not available.

2001-06-26 Thread florent barbare
Hi, I have the following errors when i used my "new cocoon" site. it works with tomcat 3.2. org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not available. Any idea ? thanks regards Florent -Original Message- From: Uli Mayring [mailto:[EMAIL PROTECTED]] Sent:

SQL Transfomer

2001-06-26 Thread Sergio Carvalho
Hi, How can I pass HTTP parameters into SQL queries using SQL Transformer? There's no mention in the docs, or examples, but on the source code there seems to be a element that may do this. Except that I can't get how it works... Cheers, Sergio ---

Re: how can I redirect my Result ? Using fp tag

2001-06-26 Thread Gustavo Mejia
Hello !! Anybody read my message ?? any idea ?? please, I need your help !! I still trying but I don't get it ! Gustavo !   Gustavo Mejia wrote: Hi, I am still trying to save my XML to a file, I am using fp tags, here I am trying to get and to save the field empno from the employee table, I need

RE: Does cache work in Cocoon 1.8.2 on Tomcat 3.2.1?

2001-06-26 Thread bhj
Thanks for your help. But I ran your sample-code, and it works fine but the page is NOT cached on my system - it outputs the HTML and this: "" So it was "served in", not "served from cache" - so any idea of why this works on your machine but not on my machine? On you system the text is "served

RE: Does cache work in Cocoon 1.8.2 on Tomcat 3.2.1?

2001-06-26 Thread JEULIN Olivier
Hi, as explained in the "caching" section of the documentation, some contents are never cached, except if you tell cocoon to do so. If you use XSP, you'll have to overload the 'hasChanged' method and put a . Anyway, here is a small example that is cached for me, and with the very same configuratio

Validating XML with C2, Help Please!!

2001-06-26 Thread Eduardo Yanez
Hi every body, I can not find where is the XML validating flag in Cocoon 2 configuration for the validation of the XML files. Where is it? could any body tell me? Thanks in advance!, Eduardo Yanez. - Please check that your q

C2 initialization problem

2001-06-26 Thread Martin Mauri
Hi Cocooners, I've just installed Cocoon 2, but I get the following error while trying to start it. It sounds strange as I've followed exactly the installation instructions. Error: 500 Localization: /cocoon/ Internal servlet error: java.lang.VerifyError: (class: org/apache/cocoon/servlet/Cocoon

RE: how to precompile the xsp ?

2001-06-26 Thread java guru
There is procedure out-lined in faq of c2 ... I am still trying to work it out.. --- [EMAIL PROTECTED] wrote: > An XSP is only compiled the first time it is called. > Each subsequent time, > this compiled version is used. So the way to > "pre-compile" an XSP is to call > it in your browser. >

[C2] NT : Problem with XSP : it works the first time and then no more (You can not select a component from a disposed ComponentSelector)

2001-06-26 Thread Samuel ARNOD-PRIN
What's this bug about ?? I've got no problem using Linux but on Windows JDK1.3 ... I don't understand.. thanx for helping - Please check that your question has not already been answered in the FAQ before posting.

RE: Handler:java.io.FileNotFoundException: /sitemap.xmap (No such fil e or directory)

2001-06-26 Thread Apostolou, Kostantinos
Thanks You were right! But I didn't touch the cocoon.xconfig file! It was as I got it from the war file! Any way now I have other problems (the Dr Watson error) It seams that my jdk1.2 is not good enough so I will try with jdk1.3.1 let see if it is going to work this time. -Original Messa

Does cache work in Cocoon 1.8.2 on Tomcat 3.2.1?

2001-06-26 Thread bhj
Hi, Does anyone have some source that gets cached by the Cocoon 1.8.2 engine? If so please send it to me, so I should se if it works in my environment also. I have been running Cocoon for some time, but have never seen the: “” (no "from cache" ). Not even the http://localhost:8080/cocoon/sample

SV: SV: ident and spaces (Netscape problem)

2001-06-26 Thread Pål Wester
It was extreme spacing in vertical direction and unnessesary breaking. I found a sollution, and that was to make cocoon report a earlier HTML version... It is now HTML 3.2 public, the same as dreamviewer produces I think It's a shame that the prog doesn't use DOCTYPE though... off to INTERDEV

Re: Fw: Authentification + Forward

2001-06-26 Thread Uli Mayring
On Tue, 26 Jun 2001, loc-at-soft wrote: > This code doesn't work ! I'm not able to use "loginException" . I want to forward >connection errors on an error page ! > Does anyone have an exemple of such an authentification XML page connecting to a >database ? Download the auth taglib under http:

Fw: Authentification + Forward

2001-06-26 Thread loc-at-soft
  - Original Message - From: loc-at-soft To: [EMAIL PROTECTED] Sent: Tuesday, June 26, 2001 10:26 AM Subject: Authentification + Forward   Hello,   I'm trying to create an authentification XML page for Web users connecting to a MySQL database.   Here is my source code ---

[C2] How to make a redirect in a xsp page before the xsl ??

2001-06-26 Thread Samuel ARNOD-PRIN
Hello I've got a xsp page that will be transformed with a xsl file. But when I make "response.sendredirect" .. the message is transformed with xsl !! what is the syntax to redirect properly ? - Please check that your question

[C2/NT] The first time, it is OK, the second time, it crashs !

2001-06-26 Thread Samuel ARNOD-PRIN
Hello, I am using c2 on both linux and nt platform with apache web server and tomcat. when I start my site on NT I can access to my xsp page without problem but the first time only... the other times, I get a ProcessException .. resource not found... why ??? note that even the simplest xsp work

Re: cocoon and xalan2

2001-06-26 Thread Frans Thamura
It is not work, you have to used xalan 1.1, But you can cojoin it with several application that used xalan 2, like JetSpeed 1.3a2 Frans --- Thorsten Mauch <[EMAIL PROTECTED]> wrote: > Hi > I using Coocon 1.8.2 with Xalan2. I use > the XalanTransformer privided by Rick Knowles. I'am > not sure

Cocoon 1.82 + JetSpeed 1.3a2 + Tomcat 322 + Cimande

2001-06-26 Thread Frans Thamura
Hi All, I upload the file with cocoon 1.82 + JetSpeed 1.3a2 + Tomcat 322 + Cimande in blueoxygen.linuxindonesia.com/project/cimande Have a nice try.. Frans __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.y

[C2]How to get the serialized result ?

2001-06-26 Thread Ling Kok Choon
hi, May i know how to get the serialized result from Cocoon2. For example, when i request a xsp from the cocoon2, the cocoon2 will serialize a HTML response and send back to my browser. But now, is it posible to store / save the result HTML file to the server, so that other person can ju

RE: [C2] How to connect to mysql server ?

2001-06-26 Thread tom . klaasen
Hi, Have a look at your cocoon.xconf file. There is a node there that looks like this: @database-url@ @database-user@ @database-password@ You just have to fill in the right parameters. Don't forget to create the tables as specified in webapp\docs\sampl

AW: SV: ident and spaces (Netscape problem)

2001-06-26 Thread Jörn Heid
Is it the same problem as mine in '[C2] Bug in HTML-Serializer?' -Ursprüngliche Nachricht- Von: Sergio Carvalho [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 26. Juni 2001 12:28 An: [EMAIL PROTECTED] Betreff: Re: SV: ident and spaces (Netscape problem) As a general rule, when removin

Re: SV: ident and spaces (Netscape problem)

2001-06-26 Thread Sergio Carvalho
As a general rule, when removing the DOCTYPE removes a 'bug' on mozilla, it's just that mozilla is behaving correctly as per the standard (the one DOCTYPE refers to!), and reverts to quirk-mode when there's no DOCTYPE. I had the same problem with image layout (which was introducing spurious sp

AW: [C2] Bug in HTML-Serializer?

2001-06-26 Thread Jörn Heid
First, the resulting page is smaller so it's not nicely formatted but it's faster. Second, not all browser will ignore that newline. E.g. NN 4.x will add more space between the tables than the 10 pixels... Ain't here anybody who can say to me if it is a bug? In C1 I think it would work... ---

RE: [C2] Bug in HTML-Serializer?

2001-06-26 Thread tom . klaasen
Why is this a problem? Do you want to make the html human-readable? If not, don't care about it too much. Your browser will ignore the newline. hth, tomK -Original Message- From: Jörn Heid [mailto:[EMAIL PROTECTED]] Sent: dinsdag 26 juni 2001 9:13 To: [EMAIL PROTECTED] Subject: AW: [C2]

RE: Handler:java.io.FileNotFoundException: /sitemap.xmap (No such fil e or directory)

2001-06-26 Thread tom . klaasen
Have a look at the cocoon.xconf file. Near the end, there is a line that looks something like this: My guess is that this has somehow changed on your machine to (note the slash). Try removing the slash. hth, tomK -Original Message- From: Apostolou, Kostantinos [

ndash problem Netscape 4.7

2001-06-26 Thread Mark van Dijk
Hi All, I have a problem displaying a ndash in Netscape 4.7. I tried to edit the Xerces HTMLEntities.res file, but nothing worked: Display browser ndash 8211 -> IE: –, NN: – #8211 8211 -> IE: ?, NN: ? (no translation by xerces) \#8211 8211 -> IE: &\#8211;, NN: &\#8211;

RE: how to precompile the xsp ?

2001-06-26 Thread tom . klaasen
An XSP is only compiled the first time it is called. Each subsequent time, this compiled version is used. So the way to "pre-compile" an XSP is to call it in your browser. hth, tomK -Original Message- From: Ling Kok Choon [mailto:[EMAIL PROTECTED]] Sent: dinsdag 26 juni 2001 16:32 To:

Handler:java.io.FileNotFoundException: /sitemap.xmap (No such file or directory)

2001-06-26 Thread Apostolou, Kostantinos
Hi I got the following problem java.io.FileNotFoundException: /sitemap.xmap (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:68) at org.apache.cocoon.environment.Source.getInputStream(Source