Re: how to remove the DTD wriiten at the top ?

2002-06-24 Thread Sebastien SACARD
Vadim Gritsenko wrote: From: Sebastien SACARD [mailto:[EMAIL PROTECTED]] Hi, I can't get rid off the DTD declaration written on top of the HTML pages created with a default serializer : map:serializers default=html map:serializer name=html mime-type=text/html; charset ISO-8859-1

A newbie question

2002-06-24 Thread Jack Dong
hi, I am a newbie to use cocoon,and get a question. I use cocoon 2.1 and tomcat 4.0.4 beta3. when i type http://localhost:8080/cocoon, it's right. but when i copy the "hello world" sample from "$CATALINA_HOME/webapps/cocoon/sample/hello-world"

RE: Cocoon 2.0.3 + Jbuilder ?

2002-06-24 Thread TREGAN Fabien
-Message d'origine- De: Piroumian Konstantin [mailto:[EMAIL PROTECTED]] Date: jeudi 20 juin 2002 11:55 รก: '[EMAIL PROTECTED]' Objet: RE: Cocoon 2.0.3 + Jbuilder ? I don't think that the problem comes from the content of the web.xml. As I've told aready, I usually solve this problem by

RE: A newbie question

2002-06-24 Thread TREGAN Fabien
[please, use plain text in your posts] Thought I do not have 2.1 here, I think that the problem is that every directory in 'samples' is auto-mounted by the sitemap (this mean that every request that start with samples/xxx are handled by the sitemap in samples/xxx.) Read the doc (or comments in

Re: Lucene and cocoon-view

2002-06-24 Thread Ugo Cei
leo leonid wrote: yes, or add the label to the map:aggregate element, this will work, too. Unfortunately, it does not :(. I'll try to come up with a self-contained sample later. Ugo -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le Volontari del Sangue, 2 - 27100

Installation Problem

2002-06-24 Thread Roger Ting
Hi I am awfully new to Cocoon.. It took me 1 day to setup the TomCat Servlet 4.0.3 properly. Now i run into the problem for Cocoon. I am currently using cocoon 2.0.2. I tried to connect to http://localhost:8080/cocoon but it keep throwing me this whole chunk of error.

Re: JspGenerator Problem

2002-06-24 Thread Cenk Uysal
I tried it but I still get the same error. What about JSP file? is it valid JSP that returns XML? I'm not sure. Interesting point is Cocoon's own JSP Generator examples run correctly. Here is my JSP: %@ page contentType=text/xml % ?xml version=1.0? page title % out.println(With help from

Re: JspGenerator Problem

2002-06-24 Thread yuryx
Cenk Uysal wrote: I tried it but I still get the same error. What about JSP file? is it valid JSP that returns XML? I'm not sure. Interesting point is Cocoon's own JSP Generator examples run correctly. Here is my JSP: try %@ page language=java % instead of %@ page contentType=text/xml %

RE: JspGenerator Problem

2002-06-24 Thread Piroumian Konstantin
-Original Message- From: Cenk Uysal [mailto:[EMAIL PROTECTED]] Sent: Monday, June 24, 2002 2:42 PM To: [EMAIL PROTECTED] Subject: Re: JspGenerator Problem I tried it but I still get the same error. What about JSP file? is it valid JSP that returns XML? I'm not sure.

Re: JspGenerator Problem

2002-06-24 Thread Cenk Uysal
Nothing changed. Same error again. Can you try them in your system for me? I want to learn is it my fault or Cocoon's fault? __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com

RE: JspGenerator Problem

2002-06-24 Thread Piroumian Konstantin
From: Cenk Uysal [mailto:[EMAIL PROTECTED]] Nothing changed. Same error again. Can you try them in your system for me? I want to learn is it my fault or Cocoon's fault? If this was addressed to me, then yes, send your page. Konstantin __

Re: A newbie question

2002-06-24 Thread Diana Shannon
On Monday, June 24, 2002, at 03:09 AM, Jack Dong wrote: by the way, what mean like {1}.rdf ,{2}.rdf? Please take a moment to read: http://xml.apache.org/cocoon/userdocs/matchers/matchers.html http://xml.apache.org/cocoon/userdocs/concepts/matchers_selectors.html If you are still

RE: JspGenerator Problem

2002-06-24 Thread Cenk Uysal
I tried JSPreader but now error is much more interesting. It returns nothing. My sitemap entry is: map:pipeline map:match pattern=*.* map:read mime-type=text/html src=/welcome.jsp type=jsp/ /map:match /map:pipeline Here the welcome.jsp is the Cocoon's own example for

RE: JspGenerator Problem

2002-06-24 Thread Piroumian Konstantin
From: Cenk Uysal [mailto:[EMAIL PROTECTED]] I tried JSPreader but now error is much more interesting. It returns nothing. My sitemap entry is: Have you looked at the log? Is there any relevant information? What do you really get: 404 error or a blank page? map:pipeline

Elegant solution for filling forms

2002-06-24 Thread Andrei Svirida
Hello Cocooners, I have a simple problem filling the values of my form fields. As it seems to be rather common and oft occuring problem i hope somebody knows a solution. I have a form described in XML file test.xml (used with Stylebook Stylesheets) : --- form name=testform Text:text

RE: Elegant solution for filling forms

2002-06-24 Thread Piroumian Konstantin
From: Andrei Svirida [mailto:[EMAIL PROTECTED]] Hello Cocooners, I have a simple problem filling the values of my form fields. As it seems to be rather common and oft occuring problem i hope somebody knows a solution. Take a look at the XMLForm. It solves this kind of problems, such

RE: JspGenerator Problem

2002-06-24 Thread Cenk Uysal
I found out the problem. I use a subsitemap and so my files are in a folder like Cocoon_Home/myfolder In the subsitemap, you have to enter full path of JSP file in generator source. For example if there is a xxx.xsl file in myfolder, in subsitemap only giving the name of file for XSL source is

RE: JspGenerator Problem

2002-06-24 Thread Piroumian Konstantin
From: Cenk Uysal [mailto:[EMAIL PROTECTED]] I found out the problem. I use a subsitemap and so my files are in a folder like Cocoon_Home/myfolder You should have said that earlier. Seems that you've hit a known problem in JSP(Generator | Reader). In the subsitemap, you have to enter

Nested queries: Only 1 allowed per query?

2002-06-24 Thread Hahn Kurt (CHA)
Nested queries work well, but here, I tried to add a second one, and after many (useless) tries, I'm suspecting that the SQL-transformer doesn't support more than one nested query at once? Below is the query structure, it works fine if I comment out either one of the nested queries. Trying to

Does anyone remember cocoon 1.8?

2002-06-24 Thread Paul Gilligan
I have switched to an out of the box cocoon 1,8 that coomes with SuSE 8.0 and I get: java.lang.RuntimeException: Error loading logicsheet at resource://org/apache/cocoon/processor/xsp/library/java/util.xsl due to java.lang.Exception: Resource not found or retrieving error. Now I am sure that

Installation error using JDK 1.4.0: libawt and libXp

2002-06-24 Thread Ryan Hoegg
Hello Peter, and everyone, In the message linked below, you respond to another user with a very similar problem to mine. http://www.mail-archive.com/cocoon-users%40xml.apache.org/msg12493.html I am using JDK 1.4.0, Tomcat 4.0.4, and Cocoon 2.0.2. I do not have X installed, and my

Re: Installation error using JDK 1.4.0: libawt and libXp

2002-06-24 Thread Peter Royal
On Monday 24 June 2002 01:27 pm, Ryan Hoegg wrote: I am using JDK 1.4.0, Tomcat 4.0.4, and Cocoon 2.0.2. I do not have X installed, and my CATALINA_OPTS environment variable is '-Djava.awt.headless=true'. After building from source, I get errors trying to load the default Cocoon2 site. The

Sitemap parameters from servlet init (e.g. from outside the sitemap)...

2002-06-24 Thread Per Kreipke
I'm looking a Best Practice suggestion. In our sitemap, we get XML from another machine (e.g. backend server) like this: map:generate src=http://dataserver.onclave.com:1234/bin/get?foo; / However, developers need to point to their local machine. E.g.: map:generate

RE: Sitemap parameters from servlet init (e.g. from outside the sitemap)...

2002-06-24 Thread Per Kreipke
P.s. - in Cocoon, does something already exist to get set sitemap parameters from somewhere 'global' (hopefully from the init params)? Or perhaps to/from the servlet context? Per - Please check that your question has not

Re: Installation error using JDK 1.4.0: libawt and libXp

2002-06-24 Thread Paul Gilligan
Watch out for the JDBC problems under jdk1.4 as well :) Ryan Hoegg wrote: Hello Peter, and everyone, In the message linked below, you respond to another user with a very similar problem to mine. http://www.mail-archive.com/cocoon-users%40xml.apache.org/msg12493.html I am using JDK

Re: Installation Problem

2002-06-24 Thread J.Pietschmann
Roger Ting wrote: Hi I am awfully new to Cocoon.. It took me 1 day to setup the TomCat Servlet 4.0.3 properly. Now i run into the problem for Cocoon. Tomcat 4.0.3 has classloader problems. It is recommended to use 4.0.4, now that it's out. If you have to stay with 4.0.3, read carefully the

xsp: pb with snapshots versions ?

2002-06-24 Thread zze-STIENNE Nicolas FTRD/DMI/CAE
Title: xsp: pb with snapshots versions ? Hi !! I tried some snapshots versions of Cocoon2[.1-dev] : 2002.06.24.041712, 21.102726, 20.103348. Every time, the xsp samples don't work (esql neither). Where does it come from ? Is there something I forgot ? I used Tomcat 4.0.3 and JDK

Getting parameters to SQLTransformer

2002-06-24 Thread Lajos Moczar
I think I know the answer, but is there any way to construct dynamic queries using SQLTransformer? Specifically, I'd like to build the where clause of my query using either a session attribute or a sitemap parameter. I've been thru the code and don't see that it can be done, but I thought I'd

Re: Installation error using JDK 1.4.0: libawt and libXp

2002-06-24 Thread Ryan Hoegg
I appreciate the quick and thoughtful response, Pete. I changed cocoon.xconf to use an interpreted sitemap, and succeeded only in making a change in the error received. It still is asking for libXp.so, but is now buried in other errors. I captured the error from my development server and

RE: Getting parameters to SQLTransformer

2002-06-24 Thread Luca Morandini
Lajos, the substitution in SQL Transformer uses parameters defined in the sitemap, which don't fit your bill I presume... ...but, being it a transformer, you can feed it any SQL you have built from whatever source (XSL, XSP, plain XML file, ...), including any parameters of your choice. This is

Re: Installation error using JDK 1.4.0: libawt and libXp

2002-06-24 Thread Peter Royal
On Monday 24 June 2002 04:24 pm, Ryan Hoegg wrote: I appreciate the quick and thoughtful response, Pete. I changed cocoon.xconf to use an interpreted sitemap, and succeeded only in making a change in the error received. It still is asking for libXp.so, but is now buried in other errors. I

Re: Getting parameters to SQLTransformer

2002-06-24 Thread Lajos Moczar
Hi Luca - I agree that the SPs are the way to go - when I was a DBA, I used to enforce their use all the time. What I was after here was to include sitemap/request/session parameters into the XML file during the generation phase, so that the complete query would be passed to the transformer.

RE: Getting parameters to SQLTransformer

2002-06-24 Thread Argyn Kuketayev
-Original Message- From: Luca Morandini [mailto:[EMAIL PROTECTED]] Sent: Monday, June 24, 2002 4:41 PM To: [EMAIL PROTECTED] Subject: RE: Getting parameters to SQLTransformer What I would suggest is the use of stored procedures, with an XSL building the statement, hence: can

RE: Getting parameters to SQLTransformer

2002-06-24 Thread Luca Morandini
Argyn, here's a snippet of a stylesheet (let's pretend name-clean contains the given parameter, be it a session, request or static parameter), which dynamically builds a stored procedure invokation for SQLTransformer to execute: xsl:element name=sql:execute-query xsl:element

Re: Installation error using JDK 1.4.0: libawt and libXp

2002-06-24 Thread Ryan Hoegg
Thanks for the idea, seems obvious once someone points it out :) Well, although I wanted to avoid installing the X libraries as this server has no other need for them, I went ahead and did it. Lo and behold, the error went away, and another was quick to replace it:

Sitemap parameters to XSP pages

2002-06-24 Thread Fabricio Chalub
Hello, folks. How can I pass a parameter specified on the sitemap to a XSP (and, possibly, a logicsheet)? I was thinking something like this: map:match pattern=test-*.html map:generate src=doc/test.xml type=serverpages map:parameter name=test value={1}/ /map:generate map:transform

Re: Sitemap parameters to XSP pages

2002-06-24 Thread Kenny Chow
Hi Fabricio, http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=102266350403912w=2 Hope this helps. Kenny --- Fabricio Chalub [EMAIL PROTECTED] wrote: Hello, folks. How can I pass a parameter specified on the sitemap to a XSP (and, possibly, a logicsheet)? I was thinking something like

Re: Elegant solution for filling forms

2002-06-24 Thread Ivelin Ivanov
http://xml.apache.org/cocoon/howto/xmlform-wizard/howto-xmlform-wizard.html Piroumian Konstantin wrote: From: Andrei Svirida [mailto:[EMAIL PROTECTED]] Hello Cocooners, I have a simple problem filling the values of my form fields. As it seems to be rather common and oft occuring problem i

Unknown formatting object http://www.w3.org/1999/XSL/Format^sequence-specification

2002-06-24 Thread sudha.
Hello I have the below statements for using name space in my xsl file. xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:fo=http://www.w3.org/1999/XSL/Format; I am trying to generate a pdf file from Formating object which has been generated using saxon-6.3.

RE: NPE with Profiling on 2.1-Dev

2002-06-24 Thread Carsten Ziegeler
Hi Bruce, thanks for reporting this - it should be fixed now in the latest CVS. The profiling pipeline is currently not able to profile a map:read. Carsten Carsten Ziegeler Chief Architect Open Source Group, SN AG --