XML and Frame Maker

2001-06-28 Thread Francesco Ori
Anyone have experience in trasforming XML to MIF? Fop should support it, or not ... -- Francesco - Please check that your question has not already been answered in the FAQ before posting.

How to hide or to save the Cocoon log trace?

2001-06-28 Thread Pier Paolo Bortone
Hi, I would like to know if exists a way to redirect the Cocoon log trace to a file.   Cocoon 1.8.2.   Thanks in advance.   Pier Paolo.

Cocoon2 Live Site...

2001-06-28 Thread Tobias Kieninger
Hi, we realized a new Web Site with Cocoon 2 using features dynamic generated buttons and menue through SVG. Everything is based on XML and XSP using 4 different Stylesheets in the pipe for processing the data. We´d like to be listed on the "Cocoon Live Sites" list. Further suggestions and criti

Re: sessions and sitemap

2001-06-28 Thread Christian Haul
On 27.Jun.2001 -- 07:50 PM, java guru wrote: > Hi., > I dont quite remember if someone has already posted > this.. > > But i wanted all my stylesheets to use some parameters > specific to user(from session) like page colors etc.. > > I am of the impression that the stylesheet cannot > access t

Parsing problem

2001-06-28 Thread Anders Conrad
Hello.   After sucessfully installing Cocoon 1.8.2, I encounter parsing errors when trying to transform xml documents into html using the cocoon xslt processor. The documents are encoded in UTF-8, and the problem is caused by element names containing the Danish letters æ, ø  and å (ae, oe, a

Re: Cocoon2 Live Site...

2001-06-28 Thread Davanum Srinivas
Tobias, Please send the URL for the site :) Thanks, dims --- Tobias Kieninger <[EMAIL PROTECTED]> wrote: > Hi, > > we realized a new Web Site with Cocoon 2 using features dynamic generated > buttons and menue through SVG. > Everything is based on XML and XSP using 4 different Stylesheets in th

AW: esql:get-xml and external entities

2001-06-28 Thread Stefan Seifert
I've posted a similar question. Has anyone an answer to this? Any idea where to change in the esql taglib to enable something like this (i've looked at it, but are not sure how to tell the default parse to use the entities)? Or is a solution for this problem planned for a further release? Stefan

PHP generator question!!

2001-06-28 Thread Marco Spinetti
Hi all, My question is about Cocoon2 PHP generator. My question is this: I have a open source forum which is based on MySQL databases. The code of this forum is php embedded in HTML page. I have Apache 1.3.19, Tomcat 3.2.2 and cocoon2: my project is to use this forum with cocoon2 because I w

Stability: Cocoon 1 vs Cocoon 2

2001-06-28 Thread Leigh Dodds
Hi, What recommendations would people give to someone looking to start a new Cocoon project. Presumably Cocoon 1 is still the stabler platform at this stage? Has anyone gone through migrating a project from C1 to C2, and if so what problems/difficulties did you encounter? Was it an easy tran

[C2] Postgres with SQL - Transformer

2001-06-28 Thread Mariano Kamp
Hi there, I tried C2 with postgress, but postgres throws an exeption that prepareStatement() is not supported yet ;-( Is there any way to tell the SQL-Transformer not to prepare the Statements and use dynamic sql instead? Mariano -

AW: [C2] Postgres with SQL - Transformer

2001-06-28 Thread Carsten Ziegeler
> Mariano Kamp wrote: > Von: Mariano Kamp [mailto:[EMAIL PROTECTED]] > Gesendet: Donnerstag, 28. Juni 2001 14:36 > An: [EMAIL PROTECTED] > Betreff: [C2] Postgres with SQL - Transformer > > > Hi there, > > I tried C2 with postgress, but postgres throws an exeption that > prepareStatement() is not

Re: PHP generator question!!

2001-06-28 Thread Sam Ruby
Marco Spinetti wrote: > > Can you explain to me how the Php generator works? The PHP generator will run PHP code natively and will pass the output through an XML parser and then from there the results be processed further however you wish. - Sam Ruby ---

Re: AW: [C2] Postgres with SQL - Transformer

2001-06-28 Thread Mariano Kamp
Hallo Carsten, thanks for answering my question and sorry for not being more specific in first place. Yes I am using connection pooling configured in cocoon.xconf, but the funny thing is I was also using connection pooling when using esql and that was working ok. I don't think that

R: PHP generator question!!

2001-06-28 Thread Marco Spinetti
Hi Sam, I have some a question. I have always programmed in java and then I am not very expert of Php. To succeed in mine intent I would owe: 1) create a Php file that produces Xml . 2) use, in the Cocoon Pipeline, the Php generator. 3) apply a Xsl to turn the Xml file into Html. Am I making a mis

more cocoon live sites

2001-06-28 Thread Jesse Reynolds
Hello I'm sure I sent these earlier, but here they are again. Please put these sites on the cocoon 1 live sites page. Thanks! http://www.noise.net.au http://www.adelaidefringe.com.au cheers jesse -- Jesse Reynolds - Virtual Artists Pty Ltd - http://www.va.com.au

Re: R: PHP generator question!!

2001-06-28 Thread Sam Ruby
Marco Spinetti wrote: > > I have some a question. I have always programmed in java and then I am not > very expert of Php. To succeed in mine intent I would owe: > 1) create a Php file that produces Xml . > 2) use, in the Cocoon Pipeline, the Php generator. > 3) apply a Xsl to turn the Xml file in

[C2] including in a xml file the result of a xsp file

2001-06-28 Thread Orgalist
for example, i'd like to include in index.xml the code source of plan.xml obtained by by using view-source.xsp with "plan.xml" as parameter. Is it possible to do something like this : ? thks C. de Corbier - Please check tha

WIDTH OF SCREEN

2001-06-28 Thread franck delarue
hi everyone, I know there is a way of knowing the browser of the client and choosing the good xsl file for this browser (i've tried it) but I would like to do a few more : to know the width of the screen of the client for differents displays. Is there a way to do this ? Thanks in advance.

R: R: PHP generator question!!

2001-06-28 Thread Marco Spinetti
Hi Sam, the last question. I have found this email that you have wrote to Stefano: OK, I've committed to the cocoon-2 branch the beginnings of a PHP > generator. A suitably configured system will invoke the PHP binaries > through JNI and the output of the page will be processed through the > con

RE: Stability: Cocoon 1 vs Cocoon 2

2001-06-28 Thread Eduardo Yánez
Hi! Cocoon 1.8.2 is a pretty stable version but its foundation is DOM, so if you want to develop a site where the responses can be big the site answers will be slow and the memory requirements can be big also. Cocoon 2 is in alpha version yet (almost a beta), but its foundation is SAX, it is fas

RE: [C2] Postgres with SQL - Transformer

2001-06-28 Thread Beauprez Sven
Mariano, The latest version of the SQLTransformer (HEAD branch) uses prepared statements (for the queries) and callable statements (for stored procedures). It doesn't use the createStatement() on the connection object anymore. I removed it because i thought it would be an improvement to use prepa

AW: Stability: Cocoon 1 vs Cocoon 2

2001-06-28 Thread Carsten Ziegeler
> Eduardo Yánez wrote: > > Hi! > > Cocoon 1.8.2 is a pretty stable version but its foundation is > DOM, so if you > want to develop a site where the responses can be big the site > answers will > be slow and the memory requirements can be big also. > > Cocoon 2 is in alpha version yet (almost a be

Extending C2

2001-06-28 Thread John Waugh
Title: Extending C2 Hi, If I wanted to extend cocoon2 to add ldap support, where would I start? I looked at the SQLTransformer, and can see how it's setup and takes sax events and generates others, etc... but I can't make the mental leap to writing an XSP page and the SAX events coming into

ERROR 36201 failed to see the "version" attribute.

2001-06-28 Thread Apostolou, Kostantinos
Hi from the log file I get this DEBUG 34627 [cocoon ] (Thread-10): Holding object in memory. Key: jar:file:/usr/local/Cocoon-2.0b1/build/cocoon/cocoon.jar!/org /apache/cocoon/components/language/markup/xsp/java/log.xsl DEBUG 35354 [cocoon ] (Thread-10): Holding object in memory. K

RE: ERROR 36201 failed to see the "version" attribute.

2001-06-28 Thread Vadim Gritsenko
Try replace with (no spaces around "="). According to http://www.w3.org/TR/2000/REC-xml-20001006#NT-VersionInfo, no spaces are allowed here. Vadim > -Original Message- > From: Apostolou, Kostantinos [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 28, 2001 10:59 > To: Cocoon-Users (E

RE: Extending C2

2001-06-28 Thread John Waugh
Title: RE: Extending C2 I've made a bit of progress, in that: taking xsp: the xsp logic gets put into a class for that document. the class is compiled and loaded up? the xsp file is processed and sax events generated (by the just made class) if it isn't xsp then you use the type flag in the

Re: WIDTH OF SCREEN

2001-06-28 Thread Kriss
Hi, you can obtain the user agent on server side with request.getHeader("User-Agent"). To get screen resolution i think you should put a hidden form field in a page, fill it with the screen resolution using javascript and then pick the value on server side. Cheers K - Original Mess

RE: ERROR 36201 failed to see the "version" attribute.

2001-06-28 Thread Apostolou, Kostantinos
No it was not that I think the problem is the stylesheet element not in the xml preprocess instraction. Anyway thanx for the tip I removed the spaces! -Original Message- From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Sent: Thu, June 28, 2001 6:29 PM To: [EMAIL PROTECTED] Subject: RE: E

Forms handling with cocoon

2001-06-28 Thread dirk . osterkamp
I'm new to cocoon and have the following question: Is cocoon the right tool to server the presentation layer of a business applikation which deals with a lot of forms of business oriented data which is provided by ejb's from a web app server like jboss or weblogic. We have the forms for order pr

RE: Stability: Cocoon 1 vs Cocoon 2

2001-06-28 Thread Leigh Dodds
So I think I'd say that a fair assessment is that anyone looking to get to grips with the Cocoon framework would do well to start with C1 (its easier to started), but would do well to switch to C2 due its better speed, but not until the development has progressed much further. Anyone disagree? L

C2: Need to send parameter to stylesheet

2001-06-28 Thread Wes Morgan
I need to send a parameter to my stylesheet from the sitemap (so I can access its value with $myparam inside the stylesheet). The comments in TraxTransformer.java say to do this: but this causes Cocoon2 to give the error "Stylesheet directed termination". So I tried this: This doe

Re: Forms handling with cocoon

2001-06-28 Thread Peter Royal
At 05:58 PM 6/28/2001 +0200, you wrote: >applikation which deals with a lot of forms of business oriented data which >is provided by ejb's from a web app server like jboss or weblogic. >We have the forms for order processing, masterdata handling etc. We need a >lot of input fields, field checking

Working installation

2001-06-28 Thread Anders Conrad
Hello.   For the record: I have succesfully installed Cocoon 1.8.2-2 on the following platform:   Suse Linux 7.1 (kernel 2.2.18) Apache 1.3.14-6 Tomcat 3.2.2 JDK 1.1.8v3-1   It seems to work fine and be robust enough (no heavy load though).   Regards Anders   Anders Conrad  D

RE: translate file.xml?args into html using java

2001-06-28 Thread Tran, Minh-Quan B
Marcus, I've never worked with cocoon commandline. But from your message, I guess that you want to produce a DOM tree explicitly. If so, then you don't need to worry about the HttpServletRequest. As I understand (I'm also new with cocoon 1.), the way cocoon 1 works is that the Request obj will

XSP references ?

2001-06-28 Thread Vincent
I'm looking for references, examples or tutorials on XSP... Does anyone have good adresses ? - Please check that your question has not already been answered in the FAQ before posting. To

why is xml include mechanism limited?

2001-06-28 Thread Markus Wagner
Hi, I found that Cocoon 1.8 fails when the include hierarchy gets deeper than 2 stages. My main xml file includes another one using the doctype/entity system syntax. This works. But as soon as one of the included xml files does the same, I get a "well-defined" error. Why this? Any hints? Tha

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

2001-06-28 Thread florent barbare
thank you for reply to me. we have installed tomcat 4.0b5 with cocoon 2 on the machine but he still give us the same error. we've try to modify the web.xml on cocoon/WEB-INF/web.xml but it does not work... [:-( thanks a lot florent -Original Message- From: S.J.Chun [mailto:[EMAIL PR

Problem Running Cacoon With Tomcat

2001-06-28 Thread Jim Urban
I have installed Cacoon 1 on my Win NT workstation. I am running it with Tomcat 3.2.1. I am running Tomcat standalone (set to port 80) since I don't have the resources to run Apache, besides, this is only for the purpose of evaluating Cocoon to see if it will work with what we are doing. When

Help Installing on Mac OS 9

2001-06-28 Thread Jeff Dunster
Has anyone installed Cocoon 1 with Tomcat 3.2 on a Mac (OS 9)? We have Tomcat working, but when we try to process XML, we get a 404 error and the path of the XML document. The document is there and a text document right next to it is served up fine. But all XML extensions generate 404s. Computer

Re: C2: Need to send parameter to stylesheet

2001-06-28 Thread java guru
Yest'day only i got this working ..here is example First the sitemap part of it..note the parameter "color1" *** *** Declare the param in stylesheet right under the "

C2: Need to send SESSION parameter to stylesheet

2001-06-28 Thread java guru
I might be posting this question again 'coz i couldnt get the right answer last time.. Is there anyway to expose the session to sitemap so that sitemap could extract some params from session and passthem onto stylesheets??? May be there is work-around.. Thanks in advance __

Re: Need to send SESSION parameter to stylesheet

2001-06-28 Thread Peter Nuetzel - inglobo
I use the SessionValidatorAction to achieve this. All validated session parameters are passed to the sitemap. - peter -Ursprüngliche Nachricht- Von: java guru <[EMAIL PROTECTED]> An: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Datum: Donnerstag, 28. Juni 2001 20:49 Betreff: C2: Need to send S

comaptibilily: cocoon 1 vs. cocoon 2

2001-06-28 Thread Thorsten Mauch
Hi All We made a project in cocoon 1 and we consider now to upgrade to cocoon 2. Does the xsp pages from coocon 1 are compatible the cocoon 2 ? Thanx Thorsten - Please check that your question has not already been answered in t

Re: Forms handling with cocoon

2001-06-28 Thread Sergio Carvalho
I think Cocoon is pretty much up to the job. w3c already has the business form definition language part done for you (I think it's called XFDL). You'd make a great service to the community by creating the XSLT framework for using XFDL to present, and client-side-validate business forms. And op

Problem Running Cocoon With Tomcat

2001-06-28 Thread Jim Urban
I found my problem. Seems the tomcat.bat file was choosing to build my classpath dynamically instead of using the static one I set up. Ugly, but I'm cocooning now. Jim Urban Product Manager Netsteps Inc. Suite 505E 1 Pierce Pl. Itasca, IL 60143 Voice: (630) 250-3045 x2164 Fax: (630) 250-3046

error - cookie.xsl

2001-06-28 Thread Thierry NOEL
Hi, Sorry for my stupid question, but I use win98 (just for test), jserv 1.1.1, cocoon 1.8.2 and I have this error message : Publishing Engine could not be initialized. java.lang.RuntimeException: Error loading logicsheet at resource://org/apache/cocoon/processor/xsp/library/java/cookie.xsl due t

Displaying Images ?

2001-06-28 Thread Gustavo Mejia
Hello everyone, > I have a question, I need to display an image > stored in my Oracle Database, I'm using esql, to get the information, > but I don't know how to get the pic's, could you give a guide ?. > > I would appreciate all your Ideas and help ! > > Thanks in advance. > > Gustavo > INFOTE

Re: Displaying Images ?

2001-06-28 Thread Gritsenko
Guide: search archives of this mail list for word "image". this was answered before, so you will find it. - Original Message - From: "Gustavo Mejia" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 28, 2001 7:06 PM Subject: Displaying Images ? > Hello everyone, > > >

Problem for installing cocoon with weblogic server

2001-06-28 Thread Yulin Wang
Hi, I have integrated cocoon with weblogic server (6.0) together following the six (6) step instructions for installing cocoon for weblogic server(6.0) at http://xml.apache.org/cocoon/install.html. After starting weblogic server, I can get right result when ran http://localhost:7001/cocoon/Coc

RE: Extending C2

2001-06-28 Thread Bentley, Tim
John - The easiest way is to use a logicsheet - the most popular database access method from Cocoon, for instance, is Donald Ball's esql logicsheet. There was an LDAP logicsheet for Cocoon1, which Jeff Turner and I extended and tweaked over time and ended up with an 'ELDAP' logicsheet which work

[C2] Problem with with transformer called more than once.

2001-06-28 Thread Mariano Kamp
Hi there, I started using transformers and encounter some behaviour which I don't understand. If I call the transformer more than once or twice and encounter a NullPointer Exception. I don't have a clue why? I am using C2 from the current CVS. I attached the code and inlined the log a