Re: Fully exploiting Cocoon

2001-08-06 Thread Berin Loritsch
Why do you feel you have to keep them synchronised. If you have a number of resumes that all conform to your resume.xsd markup, then they can all work through the same stylesheets. If your stylesheets are written to accept the same markup, they can be used interchangeably for whatever your

Re: ESQL - select * from any_table

2001-08-06 Thread Christian Haul
On 05.Aug.2001 -- 12:00 PM, Mauro Velasco wrote: Hi all, I'm using ESQL with (Tomcat 3.2.1, Cocoon 1.8.2, WinNT 4 sp6), and need select all rows from any table, but I noticed before need know the columns the be retrieved, exist a form to make this query. I'm usign Oracle 8.1.6, Sql

Re: Calling an XML file from an XSP page

2001-08-06 Thread SoftLiban ITANI Mohamed
Hello Cocooners, I want to call an xml resulted of a jsp page and embed its content into my xsp page. Here u suggested something like : InputSource is = new InputSource( new FileReader( XSPUtil.relativeFilename(

RE: [C1] ESQL in XSL

2001-08-06 Thread JEULIN Olivier
I use ESQL in one of my logicsheet (see below). I think you have to put xmlns:esql=http://apache.org/cocoon/SQL/v2; in your XML file if you use ESQL in a logicsheet (I use ESQL in both the XML file and the logicsheet, so I didn't have any troubles).

RE: c2 package names driving me crazy...

2001-08-06 Thread java guru
HI., I have tried the latest cvs..still the same problem..the xsp precompile packages are build like org/apache/cocoon/www/file_/C_/tmp/testmenu/sms/xml_cocoon2/webapp/ And clearly this path is derived from the physical folder path of the build location..isnt this cause more problems? Thanx

Re: Quotes in query

2001-08-06 Thread Christian Haul
On 06.Aug.2001 -- 10:23 AM, Sébastien Lefebvre wrote: Hi all, I have a form where I can type text. The form is submited with post method to a xsp page. This texte can of course have quotes in it. ex: I'd like this to work How to insert it in MySQL ? Do I have to write XSP logic in order

does cocoon2 support (xml-)schema yet?

2001-08-06 Thread Alexander Thomas
Hi there! If somebody knows, I would be pleased to get a brief answer! Regards, Alex - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To

AW: does cocoon2 support (xml-)schema yet?

2001-08-06 Thread Jörn Heid
Validation costs time and I think it's not a task of a publishing framework. The author of the xml files should make sure they are valid. Some editors like XMLSpy do not let you save incorrect files. -Ursprüngliche Nachricht- Von: Richard Heintze [mailto:[EMAIL PROTECTED]] Gesendet:

esql get-colums NullPointerException

2001-08-06 Thread Arnaud Bienvenu
When you use esql:get-columns and one of your column has a NULL value, you find yourself with a disgracefull NullPointerException. Here is a patch for Cocoon2 to have an empty tag instead : Index: esql.xsl === RCS file:

Java extensions from Xalan

2001-08-06 Thread Richard Heintze
I broke down and went to the book store to get Michael Kay's book on XSLT. I would suppose he got his example from xml.apache.org somewhere. I could not get the following examples to work: xsl:variable name=today select=Date:new() xmlns=xalan://java.util.Date/ xsl:variable name=today

Re: Fully exploiting Cocoon

2001-08-06 Thread Richard Heintze
I'm wondering if I am doing something wrong. My job would be a lot easier if I had a xsd file that worked with an xsl and fo.xsl file for the resume and other documents I want to create. Then when I encounter an error I would know I typed something wrong in my xml file. I hear you can get

Re: esql get-colums NullPointerException

2001-08-06 Thread Christian Haul
On 06.Aug.2001 -- 05:24 PM, Arnaud Bienvenu wrote: When you use esql:get-columns and one of your column has a NULL value, you find yourself with a disgracefull NullPointerException. Here is a patch for Cocoon2 to have an empty tag instead : Applied. Please check. Chris. -- C h r i

Re: ESQL - select * from any_table

2001-08-06 Thread Mauro Velasco
Thanks Chris for answer. Exist a way to know the number of columns to be retrieved for a esql query (typically a select * from table_name) and how can i pass it to the columns definition. Or can suggest my a way to make this query on tomcat cocoon environment.. TIA Mauro From: Christian

How can I setup??

2001-08-06 Thread hiro
Hi. I'm trying to setup Cocoon with Tomcat 3.2.1. I could suceed to create cocoon.war, however, when I looked at http://localhost:8080/cocoon/ Internal server Error happened. The msg was as follows in web-inf/log/cocoon.txt on Tomcat. java.sql.SQLException: File input/output error:

RE: c2 package names driving me crazy...

2001-08-06 Thread Vadim Gritsenko
Can you check what are the package names for XSP generated on the fly (i.e. without precompilation)? Also, you can take a look at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl, lines 97-106 and 159-169. Vadim -Original Message- From: java guru [mailto:[EMAIL

Xalan TestXSLT (C++ v 1.1) vs. Cocoon 1.8

2001-08-06 Thread Michael Case
Hi, I would like someone to confirm my suspicion, if possible. I have not used cocoon very much. However, I understand that it uses Xalan. I have a question related to compliance of the number() function implemenation. I work primarily with TestXSLT from Xalan C++ v1.1. I have the XML file:

[C2]Performance tests

2001-08-06 Thread Steffen Stundzig
Hi, has somebody made some performance tests with cocoon2, with an 'real world'-Website, with many concurrent users and so one? Perhaps in comparison with other Website technologies such as JSP, PHP or such things? Or know somebody a resource for such tests? I need it as addition for an

Re: [c1] xsp:logic compiling

2001-08-06 Thread Brent L Johnson
OK - I think I see where my problem is. I've been reading through Cocoon1 docs this whole time and didn't really see much information about logicsheets (until following the link you sent). Basically, what I'm trying to do is keep all database queries, all dynamic code, everything development

C1 vs C2 - Speed and Stability

2001-08-06 Thread Rajkumar, Joseph
Hi Folks I have Apache-1.3.20+Tomcat-3.2.2+Cocoon-1.8.2 running in a production system. I do realise that Cocoon-1 is not in development any more and that Cocoon2-Beta2 is available. I do run across xml files that take quite a while to display ie in the order of 1 to 2 minutes. These

Re: Quotes in query

2001-08-06 Thread Sylvain Wallez
Sébastien Lefebvre wrote: Hi all, I have a form where I can type text. The form is submited with post method to a xsp page. This texte can of course have quotes in it. ex: I'd like this to work How to insert it in MySQL ? Do I have to write XSP logic in order to replace ' by \'?

RE: c2 package names driving me crazy...

2001-08-06 Thread java guru
I have check the package generation with-out precompile..no change..still the package names depend on the physical folder names... Thanx --- Vadim Gritsenko [EMAIL PROTECTED] wrote: Can you check what are the package names for XSP generated on the fly (i.e. without precompilation)?

Re: ESQL - select * from any_table

2001-08-06 Thread Mauro Velasco
Thanx again Chris, I'll try this now.. From: Christian Haul [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Mauro Velasco [EMAIL PROTECTED] Subject: Re: ESQL - select * from any_table Date: Mon, 6 Aug 2001 19:26:50 +0200 MIME-Version: 1.0 Received: from [130.83.126.41] by hotmail.com (3.2)

Re: C1 vs C2 - Speed and Stability

2001-08-06 Thread Sergio Carvalho
C2 may provide large advantages when processing large files - depending on what you do with the data. C1 uses DOM for handling the XML files, which requires the construction of the entire document model in each stage. C2 uses SAX, which is event based, and allows for the XML data input to be

RE: esql

2001-08-06 Thread John Yoost
.samples/sql has one example. There have been numerous examples posted to this list, some very extensive. Hope this helps John Yoost -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Sent: Friday, August 03, 2001 4:30 AM To: [EMAIL PROTECTED] Subject:

Capturing generated XML in Action

2001-08-06 Thread Amal Sirvisetti
Hi, Is it possible to capture the XML generated by an XSP page in an Action? For example, a.xsp (generates XML) - SaveXMLAction (saves that XML in a file) Thanks, Amal - Please check that your question has not already been

Total Locks

2001-08-06 Thread Nanda Mounasamy
Hi I am getting an Info like this from weblogic with Cocoon 1.82. Aug 6, 2001 8:54:14 PM EDT Info HTTP [WebAppServletContext(5270786,c2)] [org.apache.cocoon.Engine$Block@3597189] Total locks for all pages: 1 Does anyone know what this (Total locks!!!)means? Thanks