[SUMMARY]: document() XSLT function not working properly [WAS: Is this as anomaly ?]

2002-10-28 Thread Luca Morandini
Folks, the anomaly I've found (document XSLT function returning a string instead of a node-set) is linked to the Xalan version AND the incremental-processing parameter. It could be summarized as follows: 1) Xalan 2.2.0.D14 and incremental-processing set to true: Error 2) Xalan 2.2.0.D14 and

once again urlrewriting

2002-10-28 Thread Christoph Stocker
hi all! i use cocoon 2.0.2, win2000 and weblogic 6.0sp2 sorry to write again about my problem with url-rewriting. i want to tell again, in a detailed from, my problem. maybe someone can help me. i wrote a web-app using a java action described in http://comphy.fsu.edu/xml/docs/actions.html

Howto debug sitemap flowcontrol ?

2002-10-28 Thread SAXESS - Hussayn Dabbous
Hy; Is there some logging facility, that shows me, which resources have been utilised for one specific browser-request ? A list of entries in a logfile would be very helpfull for me. It would be rather fancy, if i could get such a list in a separate browser window, telling me, which resources

[SUMMARY] Encoding form data

2002-10-28 Thread Bert Van Kets
Cocoon does not support non-US characters when posting data to the server. Characters like è (e accent grave) are translated to two strange characters when checking the posted data. iso-8859-1 is the default encoding for Cocoon and it does support all necessary West European characters (thanks

Cocoon task scheduler

2002-10-28 Thread Sylvain.Thevoz
Hello everybody, I'm writing application with Cocoon which include Cocoon portal, authentication, etc.. All you need when you use an application server. But I think about a functionnality which would be very useful on a app server: a scheduler (like the Cron in Unix). So my question is: what

Re: Cocoon task scheduler

2002-10-28 Thread Bertrand Delacretaz
On Monday 28 October 2002 14:02, [EMAIL PROTECTED] wrote: . . . So my question is: what the solution with Cocoon if I want to automate and execute tasks without a HTTP request (for example to execute a task every sunday at 12 o'clock)?? . . . Hi Sylvain, There were some discussions about

Re: Cocoon task scheduler

2002-10-28 Thread Bert Van Kets
There has been a similar thread before. dig up that one first. Cocoon, being a servlet, only reacts to http requests. So the only way to activate things on a timely basis is to use another program that calls a URL, and thus a pipeline, that activates whatever you want to get done. A wget in a

Cocoon SQL Transformation

2002-10-28 Thread Tom Place
Hi all, Quick question to do with the way the cocoon SQL parser copes with multiple SQL statements. There is probably a very quick fix for this but I'm tearing my hair out trying to find it! When inserting using and SQL statement based in XSL like so: execute-query

RE: Cocoon task scheduler

2002-10-28 Thread Sylvain.Thevoz
Hello Bert, Sorry but what is a wget? Sylvain -Message d'origine- De: Bert Van Kets [mailto:bert;vankets.com] Date: lundi, 28. octobre 2002 14:21 À: [EMAIL PROTECTED] Objet: Re: Cocoon task scheduler There has been a similar thread before. dig up that one first. Cocoon, being a

RE: Cocoon task scheduler

2002-10-28 Thread Morrison, John
web get, it's a unix program. Also available (via cygwin) for windows. J. Hello Bert, Sorry but what is a wget? Sylvain === Information in this email and any attachments are confidential, and may not be copied or

Re: Cocoon task scheduler

2002-10-28 Thread Robert Ellis Parrott
How about cron and a python script, which executes a localhost HTTP query? Python has very good support for HTTP. I'm not convinced that Cocoon needs such a beast, when so much mature functionality is available at the OS level. On Mon, 28 Oct 2002 [EMAIL PROTECTED] wrote: Hello everybody,

Re: Cocoon SQL Transformation

2002-10-28 Thread Bert Van Kets
I can't help you with your problem, but I can tell you that I am using esql in an XSP with this. It works flawlessly when calling multiple queries one after the other. Bert At 13:26 28/10/2002 +, you wrote: Hi all, Quick question to do with the way the cocoon SQL parser copes with

RE: Cocoon task scheduler

2002-10-28 Thread Bert Van Kets
But cryptic reply John, g wget is indeed a *nix prog that creates an http request and captures the result. Actually, all you need is a program doesn't matter which one that sends out an http request. Heck, you can even use a scheduled off line favorite in IE for this. You will need to set

RE: Cocoon task scheduler

2002-10-28 Thread Sylvain.Thevoz
I completely agree with you and Bertrand: Cocoon have already so much stuffs and it wouldn't be a good solution to add this type of feature. So I need a scheduler app writing in Java because I want to keep independance with OS (my server runs on Windows but I could change this). This scheduler

Re: [SUMMARY] Encoding form data

2002-10-28 Thread Boris Althaus
If somebody implements the database-actions like in the cocoon-example(2.03)http://localhost:8080/cocoon/forms/employeeit is possible to include the set-encoding action into the map:action-sets/-section instead of including it into every pipeline. fragment from cocoon/sitemap.xmap with

RE: Cocoon task scheduler

2002-10-28 Thread Artur Bialecki
Try Jcrontab http://jcrontab.sourceforge.net/index.shtml Artur... -Original Message- From: [EMAIL PROTECTED] [mailto:Sylvain.Thevoz;swisscom.com] Sent: October 28, 2002 8:47 AM To: [EMAIL PROTECTED] Subject: RE: Cocoon task scheduler I completely agree with you and

R: Cocoon SQL Transformation

2002-10-28 Thread Luca Morandini
Tom, every query element should live within a separate execute-query one, like in: execute-query xmlns=http://apache.org/cocoon/SQL/2.0; query insert into my_table (Col1, Col2) values ('1', '2') /query /execute-query execute-query xmlns=http://apache.org/cocoon/SQL/2.0; query

Concept problem using modular actions ..

2002-10-28 Thread Rui Leal
Hi ALL! I've been working and testing cocoon for about 3 weeks ... after some simple examples i started some more complex stuff .. Right now i´m trying to understand the proper way to work with modular actions .. so imagine this ... One table, SIGLAS, is the main information table, it consists

RE: Cocoon task scheduler

2002-10-28 Thread Robert Ellis Parrott
Both python perl have ports to just about every OS, more than Java. And python in particular is mindlessly easy to write in, and has the extra bonus in that it has been ported to Java (Jython) Check out ActivePerl ActivePython at http://www.activestate.com (windows ports, unixx ports are easy

Re: [SUMMARY] Encoding form data

2002-10-28 Thread Bert Van Kets
Don't get this wrong. You needn't add the action in every pipeline, just in the ones that capture form data where you can expect non-ASCII characters. Thanks for the addition. Bert At 14:59 28/10/2002 +0100, you wrote: If somebody implements the database-actions like in the

RE: Cocoon SQL Transformation

2002-10-28 Thread Tom Place
I have tried it like you say however am still getting an internal server error: org.apache.cocoon.ProcessingException: Exception during processing of file:/C:/tomcat/webapps/cocoon/autorevs/docs/doregister.xml: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException

Re: Concept problem using modular actions ..

2002-10-28 Thread Christian Haul
On 28.Oct.2002 -- 02:07 PM, Rui Leal wrote: Hi ALL! I've been working and testing cocoon for about 3 weeks ... after some simple examples i started some more complex stuff .. Right now i´m trying to understand the proper way to work with modular actions .. so imagine this ... One

RE: Cocoon and EJB

2002-10-28 Thread Hunsberger, Peter
Would you mind integrating it into the CocoonWiki (http://www.outerthought.net)? If no and it's easier for you I can do it for you. Reinhard, go ahead and add it if you wish; everything in the document is based on stuff from the Cocoon-user archives, with some modifications. As I said, it's

R: Cocoon SQL Transformation

2002-10-28 Thread Luca Morandini
Tom, could you post the XML document that fails ? Best regards, Luca Morandini [EMAIL PROTECTED] -Messaggio originale- Da: Tom Place [mailto:psyttrp;nottingham.ac.uk] Inviato: lunedì 28 ottobre 2002 15.38 A: [EMAIL PROTECTED] Oggetto: RE: Cocoon SQL Transformation I have tried

Re: Concept problem using modular actions ..

2002-10-28 Thread Christian Haul
On 28.Oct.2002 -- 03:39 PM, Christian Haul wrote: On 28.Oct.2002 -- 02:07 PM, Rui Leal wrote: 2.0.4-CVS will get updated. In the mean time, it should be safe to copy it together with the AbstractMetaModule from 2.1 to 2.0.4, rebuild, and add it to cocoon.xconf if you need it fast. Actually

RE: Cocoon SQL Transformation

2002-10-28 Thread Tom Place
OK the full story: The xml file that is the generator is as follows: doregister/ This is then passed through an XSL file : ?xml version=1.0? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; !-- Make the request parameter available -- xsl:param name=username/

Re: internalisation with schematron (XML-Form)

2002-10-28 Thread Mohamed El-Refaey
Hallo Ivelin, I already wrote a How To Document for this and uploaded it using Bugzilla . I hope it will be clear and easy to follow. and its Bug#14015. Thanx in advance Mohamed El-Refaey Ivelin Ivanov wrote: Mohamed, would you consider submitting your email as a how-to document in

RE: CaheValidity toString()

2002-10-28 Thread Stephen Ng
I am running into this same problem (I think) but I'm confused as to what to do about it. I have xsp's with generateKey() and generateValidity()methods, and when I put the xsp in an aggregate, cocoon re-aggregates every time, instead of used the cached aggregated value. The symptom is that it

XML to Excel file

2002-10-28 Thread Dorsey, Chris
Does anyone have recommendations on how to get from an XML stream to an Excel file without using cocoon? - Please check that your question has not already been answered in the FAQ before posting.

Re: XML to Excel file

2002-10-28 Thread Markdelanoy
Look at the POI project on jakarta.apache.org specifically HSSF. You'd need to parse the XML yourself but POI allows you to read/write Excel files. MD - Please check that your question has not already been answered in the FAQ

Re: XML to Excel file

2002-10-28 Thread Boris Althaus
Hi Chris, when you set the content-type in a servlet like "response.setContentType("application/vnd.ms-excel");" a simple html-table will opened as excel-file, if Excel is installed. but i think it is not a question for [EMAIL PROTECTED] Boris - Original Message - From:

Re: Concept problem using modular actions ..

2002-10-28 Thread Rui Leal
First of all .. thanks for the help ! I've been a complete cocoon fan for 3 weeks now .. I've converted most of my team to it ! :) There has been a problem using nested actions in an action-set in 2.1 and most likely treeprocessor in 2.0.x. .. Ok .. i´ve been using 2.0.3 .. it seems the

RE: XML to Excel file

2002-10-28 Thread Ryan Agler
Not a full-blown solution, but you can encode a web page with tags in the Excel namespace xmlns:x=urn:schemas-microsoft-com:office:excel and, use formulas etc in html table cells: td style=width:0pt x:fmla==COUNT(A4:A9) width=0 class=x868 span style=mso-spacerun: yes/ /td Try saving an .xls

Re: XML to Excel file

2002-10-28 Thread Mark Eggers
Take a look at POI at http://jakarta.apache.org/poi/index.html to see if it meets your needs. /mde/ just my two cents . . . . __ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/

RE: Cocoon SQL Transformation

2002-10-28 Thread Tom Place
OK the actual XML that is going into the failing XSL is as follows: user detail nametomplace/name passwordtom/password firsttom/first lastplace/last /detail existing-user rowset / /existing-user /user The fact that the existing user rowset is empty is a good

RE: XML to Excel file

2002-10-28 Thread Hugo Burm
Try Perl. I have some good experiences with CPAN modules that parse XML streams and write to Excel. You ony need a few lines of Perl code, it is fast, but it does exactly that (and only that) what you are asking for: convert an XML stream into an Excel file. Cocoon is a different kind of animal.

Possible to override encoding of HTMLGenerator output?

2002-10-28 Thread gv
Hi, I am bringing some legacy HTML content into a new site using HTMLGenerator and a transformation that alters the XHTML. The content has a bunch of ISO-encoded characters in it, which causes parse problems. After some testing on a static file, I found that when my source XHTML uses the

restricting access to cocoon

2002-10-28 Thread icewind
I want to be able to restrict access to my Cocoon-based application, either by IP range, login, or both. Is this something I can do easily in cocoon, or should I look into doing this using Tomcat? __ Do you Yahoo!? Y! Web Hosting - Let the expert

Accessing uri-prefix from within sub-sitemaps?

2002-10-28 Thread Justin Fagnani-Bell
Hi, I'm using sub-sitemaps now to host several projects at once in my development environment. I access the projects through a URL that looks like this - http://localhost/projects/proj1;, and in the sub-sitemaps I have a XSLTransformer prepend a sitemap variable called base to the beginning

xsp request variable is not declaired

2002-10-28 Thread Eric Everman
Hi Everyone- Here is a newbe question: I'm trying to use the implicit 'request' variable in a xsp page, however, whenever I try to access it like this I get a NPE error at line x: xsp:logic keyword = request.getParameter(value); //line x /xsp:logic When I attempt to access it like this, I

Re: xsp request variable is not declaired

2002-10-28 Thread Bert Van Kets
Make sure you put your request inside a tag. Like this: xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:esql=http://apache.org/cocoon/SQL/v2; xmlns:xsp-request=http://apache.org/xsp/request/2.0; data xsp:logic your logic /xsp:logic /data /xsp:page

Re: xsp request variable is not declaired

2002-10-28 Thread Dave Biggar
You do not appear to have declared `keyword'. i.e., try: String keyword = request.getParameter(value); Dave - Original Message - From: Eric Everman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 28, 2002 3:46 PM Subject: xsp request variable is not declaired Hi

Re: xsp request variable is not declaired

2002-10-28 Thread Eric Everman
At 10/28/2002, you wrote: You do not appear to have declared `keyword'. i.e., try: String keyword = request.getParameter(value); Dave Ha, fair enough. But believe it or not, this is a copy/paste error. Here is the simplest xsp page that causes the problem (verbatim this time):

desperate with XMLForms invalida data message

2002-10-28 Thread Josema Alonso
Hello, all. It's been all day long and I'm still stuck with this. I can make the XMLForms Wizard demo to work nicely, but everytime I try to change just one property to test a custom solution, the 'invalid for data' message appears. I guess this is because of some mapping problems between forms

Re: xsp request variable is not declaired

2002-10-28 Thread Dave Biggar
Your xsp page requires the cocoon processing instruction: ?cocoon-process type=xsp? I have also seen the xsp:page tag written: xsp:page language=java xmlns:xsp=http://www.apache.org/1999/XSP/Core; I am not clear if both are acceptable. Dave - Original Message - From: Eric

Re: internalisation with schematron (XML-Form)

2002-10-28 Thread Ivelin Ivanov
Many thanks ! I will review and apply the patch. ... now only if someone would be interested to write a HOWTO on using JAAS with Cocoon. Best, Ivelin - Original Message - From: Mohamed El-Refaey [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 28, 2002 7:35 PM

Re: restricting access to cocoon

2002-10-28 Thread Ivelin Ivanov
A few other people asked the same question recently. My personal believe is that security is orthogonal to Cocoon and belongs to the J2EE container. If you will have the time, please consider submitting a HOWTO patch to Cocoon's bugzilla on using Tomcat security with Cocoon. Regards, Ivelin

RE: CaheValidity toString()

2002-10-28 Thread Stephen Ng
Okay, I think I've found the problem with my aggregate caching. I have an xsp, and I use the cocoon:/ protocol to map:aggregate that xsp. Something like the usual: map:match pattern=foo map:aggregate element=site map:part src=cocoon:/from-an-xsp.xml/ /map:aggregate ... The symptom is that