building the current CVS

2003-01-14 Thread adriano . zigante
Hi. There are a problem building the current CVS version (13.01.2003) for a JDK1.3.1_06 under Windows 2000. Apart from the known problem based on the missing mail.jar, I receive a log trace ...: ..

RE: '\n' character in cocoon output stream

2003-01-14 Thread Luca Morandini
Yuri, not sure I've understood what you asked... Anyway, if you want to insert a line feed during an XSLT transformation stage, you could do the following in your stylesheet: firstline#x0a;secondline Regards, - Luca Morandini

Re: i18n:when ????????????

2003-01-14 Thread Konstantin Piroumian
i18n:when is implemented in Cocoon 2.1-dev only. Take a look at the i18n samples there. Konstantin - Original Message - From: Hong Gia Dinh To: [EMAIL PROTECTED] Sent: Tuesday, January 14, 2003 06:47 Subject: i18n:when Can you all tell

Re: output-encoding in HTMLGenerator, please help!

2003-01-14 Thread Yury Mikhienko
Hi Joerg! Thanx for your reply. The pure Tidy works properly (output stream encoding is the same as the input stream encoding). The problem, from my point of view, is in transformer (or streamer [if xpath is null value]) input stream encoding (HTMLGenerator), because Tidy DOM parser returns

Re: i18n again

2003-01-14 Thread Konstantin Piroumian
Title: i18n again Again, please take a look at i18n samples (either in 2.0.3 or 2.1 versions) and you'll see that it's possible to specify the message catalogue name on pipeline level, so you can have different pipelines using different message catalogues. In i18n samples there are two

Re: '\n' character in cocoon output stream

2003-01-14 Thread Yury Mikhienko
On Tue, 14 Jan 2003 09:30:32 +0100 Luca Morandini [EMAIL PROTECTED] wrote: Yuri, not sure I've understood what you asked... Anyway, if you want to insert a line feed during an XSLT transformation stage, you could do the following in your stylesheet: firstline#x0a;secondline Regards,

Caching xinclude results

2003-01-14 Thread Yury Mikhienko
Hi all! I using xinclude transformer in my work and have the following questions: Does cocoon.environment.Source (or org.xml.sax.InputSource) cached the document (source of result document)? And how to configure it (expire timeout, proxy location etc.) if it possible? Can anyone ask me? Thanx

Caching xinclude results with proxy

2003-01-14 Thread Andreas Bednarz
Hi there, regarding to many questions to caching and performance I have a suggestion from real life. We are using XINDICE for or internal projects with fuss satisfaction after putting squid in front of the XML interface as an transparent proxy. We have defined a trigger in squid.conf which

Re: building the current CVS

2003-01-14 Thread Nicola Ken Barozzi
[EMAIL PROTECTED] wrote: Hi. There are a problem building the current CVS version (13.01.2003) for a JDK1.3.1_06 under Windows 2000. [...] BUILD FAILED java.lang.OutOfMemoryError no stack trace available I have made other changes to the build to lower memory consumption again. The

Cocoon in an application rather than tomcat

2003-01-14 Thread Alex McLintock
Hi folks, I am looking at producing an SVG tool in Java which may produce SVG, PNG and various other formats. Since it will be run on remote laptops I would prefer an java application... Has anyone run Cocoon within a java application, with or without tomcat? Is it a common config? I assume

Re: Cocoon in an application rather than tomcat

2003-01-14 Thread Christoph Gaffga
Hi, isn't that configuration a little bit much for only processing SVG images. You should check out the Batik project for SVG and java: http://xml.apache.org/batik sincirly Christoph [EMAIL PROTECTED] - Original Message - From: Alex McLintock [EMAIL PROTECTED] To: Cocoon users mailing

Re: Cocoon in an application rather than tomcat

2003-01-14 Thread Christoph Gaffga
sorry, i forget to mention the svg-rasteriser. This is possibly what you are looking for: http://xml.apache.org/batik/svgrasterizer.html Christoph - Original Message - From: Alex McLintock [EMAIL PROTECTED] To: Cocoon users mailing list [EMAIL PROTECTED] Sent: Tuesday, January 14, 2003

RE: building the current CVS

2003-01-14 Thread Jonathan Spaeth
Title: RE: building the current CVS I had a similar problem when attempting this with jdk 1.3.1 on a unix system. The problem is java vm is running out of memory. The solution is to increase the memory allocated to the java vm. This can be done by passing -Xmx to the java vm or -X for the -X

Fragment extractor - CDATA - svgxml

2003-01-14 Thread Samuel Goldszmidt
Hi, I am very new in cocoon and i have got a big problem ... I have a xml file with svg elements included, and i use fragment extractor to separate the svg content. I have to serialize the svg to SVG format and make it read by the Adobe Viewer I don't know how to use the serilizer svgxml,

RE: file generator error

2003-01-14 Thread Sylvain.Thevoz
Hi Geoff, I haven't exactly the same as you but I confirm there is a problem here. For me your link gives: requestParameters parameter name=amp;fee valuefi/value /parameter parameter name=foo valuebar/value /parameter /requestParameters Regards Sylvain -Message

Accessing Http authentication protected URls via HTML Generator

2003-01-14 Thread Gernot Koller
Hi! I'm extracting some information from another webapplication and render it as part of my cocoon based portal. I do this using the html generator to retrieve the xhtml from the 3rd party webapplication and use xslt stylesheet to extract the information I need. While this generally works

RE: Accessing Http authentication protected URls via HTML Generator

2003-01-14 Thread Geoff Howard
If you're using BASIC authentication, you may try using the syntax: http://username:[EMAIL PROTECTED] Also, you should look into the WebServiceProxyGenerator (if you're using 2.1 or can wait until it's ported to 2.0.4 Search for WebServiceProxyGenerator in the archives, or search for emails

Splitting WML file

2003-01-14 Thread Andrew Larcombe
Hello, First off, I'm a fully fledged newbie when it comes to cocoon, so at this stage I'm looking for pointers rather than absolute answers - although that would be nice ;-) I've used Cocoon to translate some xml documents to wml format using the bog-standard wml converter that the Hello, World

[XMLForm] how to dynamically initialize a bean property?

2003-01-14 Thread Sylvain.Thevoz
Hello, In my XMLForm application I want to initialize a bean property each time I load the application because the initialization value changes all the time (to find the initialization value I retrieve a value, which is also dynamic, from a database and I increment it). If I initialize the

Re: Splitting WML file

2003-01-14 Thread Skip Carter
First off, I'm a fully fledged newbie when it comes to cocoon, so at this stage I'm looking for pointers rather than absolute answers - although that would be nice ;-) I've used Cocoon to translate some xml documents to wml format using the bog-standard wml converter that the Hello, World

XForms and XSP integration

2003-01-14 Thread Eric Gykatee
Hi, I'd like to use XMLFORM within XSP much like the older Form Logicsheet can be. Has anyone already done this? Is this feasible? How would I go about it? I figure eventually there will be a tighter integration between XSP and XMLForms. Cheers, Eric.

Rotating Logs Weekly

2003-01-14 Thread Peter Hargreaves
Hi Folks, I would like to rotate my logs on a weekly basis. Is this possible? I've read the instructions on rotating logs in logkit.xconf so I can see rotation is possible on a daily or sub-daily basis. Thanks for any replies. Peter.

RE: [XMLForm] how to dynamically initialize a bean property?

2003-01-14 Thread Mark H
What I've done is create an action that extends AbstractXMLFormAction and overrides the getFormModel method. The following piece of code uses object persistance to get the model from the database. protected Object getFormModel(){ //If there is an non-zero id request parameter i.e. form?id=11

RE: User roles in extra file

2003-01-14 Thread Geoff Howard
I believe that's a mistake in the book. You need to use an absolute path to the resource from the application context root: /WEB-INF/myroles.xconf See: http://xml.apache.org/cocoon/faq/faq-configure-c2.html#faq-1 You can also search the archives for user-roles and you'll find a few threads on

Re: file generator error

2003-01-14 Thread Joerg Heinicke
Hello Geoff, If I type http://127.0.0.1:8080/cocoon/joerg/test?test=testtest2=test2 in Mozilla URL textbox I get expected requestParameters parameter name=test2 valuetest2/value /parameter parameter name=test valuetest/value /parameter /requestParameters If I type

Re: '\n' character in cocoon output stream

2003-01-14 Thread Joerg Heinicke
Is it for viewing the output code (HTML or XML or whatever) in the browser? Then maybe simply switching indent to yes helps. map:serializer manyAttr=value encodingUTF-8/encoding indentyes/indent /map:serializer Or a view, which adds a transformer to the output and shows the code completely

Re: form encoding UTF-8 / ISO-8859-1

2003-01-14 Thread Joerg Heinicke
Hello Martin, we solved it simply by changing the output encoding of the files to ISO-8859-1. The browsers send their requests in the document encoding. Maybe this is a simple solution for you too. Regards, Joerg Martin Koeppe wrote: Hello, I'm using a recent developer version of cocoon 2.1

XMLForms within XSP

2003-01-14 Thread Eric Gykatee
Hi, I'd like to use XMLFORMs within XSP much like the older Form Logicsheet can be. Has anyone already done this? I like the fact that the form is defined within an xml file not including presentation. However it would be nice to be able to Agregate this into and XSP and do XSL

flow script - local vars shared on different continuations

2003-01-14 Thread Martin Koeppe
Hello, with cocoon 2.1 dev cvs version from Jan 9 2003, Java 1.4.0, Tomcat 4.1.12, I have the following problem. Local variables seem not to be hold separately in different continuations, i.e. one continuation modifies the vars of another. Execute the sample program and look at the variable i.

XMLForms and checkboxes

2003-01-14 Thread Mark Horgan
Just checking: is it true that request xmlforms don't handle checkboxes if they are unchecked? If so has anybody found a way around this apart from changing the scope of the forms to session? Before cocoon I used to send the checkbox element names as hidden elements and compare them with the

flow script - local vars shared on different continuations

2003-01-14 Thread Martin Koeppe
Hello, with cocoon 2.1 dev cvs version from Jan 9 2003, Java 1.4.0, Tomcat 4.1.12, I have the following problem. Local variables seem not to be hold separately in different continuations, i.e. one continuation modifies the vars of another. Execute the sample program and look at the variable i.

Re: Fragment extractor - CDATA - svgxml

2003-01-14 Thread Joerg Heinicke
Hello Samuel, sorry, but I don't really get your problem from your mail. But I can say, that the svgxml serializer is to be used like the normal xml serializer. It simply adds a DOCTYPE declaration to the output document. But your problem description is really complicated. Some comments:

amp; in url [WAS: file generator error]

2003-01-14 Thread Geoff Howard
I would regard the behavior below to be incorrect - so the million dollar question is what is the correct behavior: Can GET parameters be separated by amp; instead of according to the W3C, etc? Don't have time to look it up myself - does anyone know for sure? Geoff -Original

Re: amp; in url [WAS: file generator error]

2003-01-14 Thread Joerg Heinicke
Geoff Howard wrote: I would regard the behavior below to be incorrect - so the million dollar question is what is the correct behavior: Can GET parameters be separated by amp; instead of according to the W3C, etc? I don't think so. is the delimiter, not amp;. What is when amp; is really

Re: amp; in url [WAS: file generator error]

2003-01-14 Thread Joerg Heinicke
But that's in the HTML code I guess, not in the URL textarea. And there this behaviour is more or less correct. It tries to read quoteId, something *must* be wrong here. Now the browser can choose between amp; or quot;. But what's the user's wanted? IE chooses quot;. Maybe the guys at MS don't

RE: amp; in url [WAS: file generator error]

2003-01-14 Thread McNeil, Shane
Title: RE: amp; in url [WAS: file generator error] I don't know if this will help but here's a link to a w3c appendix dealing with this issue http://www.w3.org/TR/html401/appendix/notes.html#h-B.2.2 It suggests that the *must* be escaped as amp; or #38; This article

Re: XMLForms and checkboxes

2003-01-14 Thread Ivelin Ivanov
XMLForm handles automatically unchecked check-boxes when the form is session scope. Overriding the reset method is the appropriate place to handle them for request scope. See this: http://xml.apache.org/cocoon/howto/xmlform-wizard/howto-xmlform-wizard-4.htm l Ivelin - Original Message

RE: Cocoon Portal Framework Question

2003-01-14 Thread Carsten Ziegeler
Hi, there are two problems with JDK 1.4.x: First, you have to copy the versions of Xalan and Xerces provided with Cocoon to the endorsed directory of your JDK as explained in the installation guide of Cocoon. Second, you have to turn of xsltc! Change the setting in the main sitemap for the