Re: i18n problem with i18n:attr : ArrayIndexOutOfBoundsException

2003-01-22 Thread Konstantin Piroumian
A typical parser/classpath problem. You'll find the answer here (scroll to the bottom): http://wiki.cocoondev.org/Wiki.jsp?page=FAQs -- Konstantin - Original Message - From: Thomas Haselberger [EMAIL PROTECTED] To: Cocoon-Users (E-mail) [EMAIL PROTECTED] Sent: Tuesday, January 21,

Re: WebSphere 5 and Cocoon - new user

2003-01-22 Thread Gernot Koller
Hi! I posted about similar problems yesterday: http://marc.theaimsgroup.com/?l=xml-cocoon-devm=104316925213149w=2 still looking for a workaround :-( Gernot 22-Jan-03 01:35:07, Cameron McKenzie [EMAIL PROTECTED] wrote: I'm trying to sell my coworkers on cocoon and WebSphere, but when I

IDE for cocoon

2003-01-22 Thread Reza Aliakbari
Dears, I am new in cocoon. I need some tools and IDE for cocoon. Also I am waiting for any advise that could be useful for new cocoon developers. Thanks, Reza. - Please check that your question has not already been answered

Re: IDE for cocoon

2003-01-22 Thread Martin Dulisch
Hi Reza, sunBow is a plugin for eclipse (www.eclipse.org). It contributes some Cocoon/XML/XSLT features to eclipse. You can find the download and documentation here: http://radio.weblogs.com/0108489/ Martin - Original Message - From: Reza Aliakbari [EMAIL PROTECTED] To: [EMAIL

Re: WebSphere 5 and Cocoon - new user

2003-01-22 Thread Jeff Turner
We had this sort of problem with Jetty too. The redirect rule from http://localhost:8080/forrest to http://localhost:8080/forrest/index.html actually caused a redirect to http://localhost:8080/index.html. We currently have the following redirect working in Jetty and Tomcat: map:match pattern=

RE: IDE for cocoon

2003-01-22 Thread Alireza Fattahi
Can we run it in stand alone mode? Or as JBuilder plug-in? -Original Message- From: Martin Dulisch [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 12:50 PM To: [EMAIL PROTECTED] Subject: Re: IDE for cocoon Hi Reza, sunBow is a plugin for eclipse (www.eclipse.org). It

Re: Automatically generated linefeed before ?xml ...? in the JSP causes SAXException

2003-01-22 Thread Eduardo Zurita
Thanks to all. Problem solved. There was a linefeed outside the JSP tags. [EMAIL PROTECTED]%--This was the linefeed causing problems. % String xxx; . % - Original Message - From: J.Pietschmann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 21,

Re: Schematron transform in a Cocoon pipeline

2003-01-22 Thread jcallahan
Oskar, Excellent suggestion. The XPATH of the error would be very useful for debugging. What applications of Schematron have you done within Cocoon? So far, I'm using it to validate uploaded documents. -- jack Hi Jack, I have done the same to validate an XML document with an schematron.

Re: IDE for cocoon

2003-01-22 Thread Martin Dulisch
It is a eclipse plugin, not JBuilder. Martin - Original Message - From: Alireza Fattahi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 22, 2003 10:32 AM Subject: RE: IDE for cocoon Can we run it in stand alone mode? Or as JBuilder plug-in? -Original

Antwort: i18n more!!!!!!!!! :(

2003-01-22 Thread manfred . weigel
Hello! Do you use this Action in your pipeline? map:action name=set-encoding src =org.apache.cocoon.acting.SetCharacterEncodingAction/ map:act type=set-encoding map:parameter name=form-encoding value=utf-8/ /map:act If not, try to insert it before(!!!) your matchers, where the requests

RE: i18n more!!!!!!!!! :(

2003-01-22 Thread Alireza Fattahi
Title: i18n more! :( See: http://www.anassina.com/struts/i18n/i18n.html -Original Message- From: Hong Gia Dinh [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 2:29 PM To: [EMAIL PROTECTED] Subject: i18n more! :( Hi all I am deploying my

Re: Schematron transform in a Cocoon pipeline

2003-01-22 Thread Oskar Casquero
Jack, I also use it to validate uploaded documents. When cocoon receives the document, first, I check with the parser (inside the generator), that the document is well formed and valid according to a certain W3C Schema. But there are some verifications that the W3C Schema can't check, so, for

Re: Standard in creatring xml files

2003-01-22 Thread Jeff Turner
On Wed, Jan 22, 2003 at 02:11:05PM +0330, Alireza Fattahi wrote: Hi, We want to create a web site with 40 pages. The site has typical input forms and search/search result pages. We want to have some XSL files as the template for these pages. Of course we should not have 40 xsl files, but 40

RE: Standard in creatring xml files

2003-01-22 Thread Luca Morandini
Alireza, you can do it in a number of ways, as of now, a couple of those come to my mind: 1) Build an intermediate XSLT stage to transform the found elements in a common row/attributes schema... later to be rendered in HTML by a single XSLT customer nameAlireza/name

RE: IDE for cocoon

2003-01-22 Thread Geoff Howard
I've recently started using eclipse and have been very impressed. The information it provides helps make sense of what can seem like a rats nest of dependencies. I have brought in avalon and avalon-excalibur as projects alongside cocoon and my own cocoon-based projects which has been very

getting attributes out of portal context

2003-01-22 Thread Gerald Kahrer
Hi, does anybody know how (under which key) attributes are stored in the portal context. I have following scenario: I have a configurable coplet with a configuration parameter uri. I know that this parameter is stored in the portal context. Now i want to read this parameter in an action. I

Re: IDE for cocoon

2003-01-22 Thread Jordi Valldaura
Hello, I agree with u that eclipse is a very good ide. But the sunbow plug in needs a registration key, I know they give it freely now but I don't think they will do it in the future. - Original Message - From: Geoff Howard [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday,

RE: IDE for cocoon

2003-01-22 Thread Matthew Langham
Hi, the current free version of sunBow will remain free. At the moment we require a licence key (because we originally thought this a good idea) and have not yet got round to removing the dependency. Hopefully we will find some time to do that...but until then :-). Matthew -- Open Source Group

Re: WebSphere 5 and Cocoon - new user

2003-01-22 Thread Cameron McKenzie
One problem we've reported to IBM as a spec violation is the fact that the servlet container parses comments within the param-value tag in the web.xml file. You'll see all sorts of exceptions at: !-- For IBM WebSphere: com.ibm.servlet.classloader.Handler -- as the container

RE: IDE for cocoon

2003-01-22 Thread Geoff Howard
While we're talking about sunbow, are there any plans to provide some kind of support for xsp/xml editing? Maybe I haven't found the right settings or external plugins yet but xml editing doesn't seem very rich. Jedit at least has some tag completion capability etc. Have I missed something?

build run (jetty) cocoon not initialized

2003-01-22 Thread Geoff Howard
I'm trying to use the new jetty launch target (build run) in cvs but cocoon seems to not fully initialize. Jetty starts and all debug information it puts out to the screen seems ok. When it stops working (task goes to 0 cpu and output stops) accessing http://localhost:/cocoon/ gives a

Re: IDE for cocoon

2003-01-22 Thread Jordi Valldaura
You are doing a good work. Thank you - Original Message - From: Matthew Langham [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 22, 2003 3:34 PM Subject: RE: IDE for cocoon Hi, the current free version of sunBow will remain free. At the moment we require a licence

RE: Hello and question

2003-01-22 Thread Hunsberger, Peter
Here's the context: We have several hundred thousand time series, but they will, for the foreseeable future, remain in their present repository (the Fame time series database application.) However, there are a few hundred series which our staff use regularly, and which they need to

Re: WebSphere 5 and Cocoon - new user ?solved?

2003-01-22 Thread Cameron McKenzie
I just wanted to say that I got Cocoon to run in WebSphere 5. However, it was not the cocoon.war file from the download, but instead Chello. For some reason, after setting up a chello web app, everything worked fine. The only major difference I could see between the two implementations was the

Re: WebSphere 5 and Cocoon - new user ?solved?

2003-01-22 Thread Gernot Koller
What version of cocoon is this then ? When I last tried out chello it seemed pretty out of date... 22-Jan-03 18:12:34, Cameron McKenzie [EMAIL PROTECTED] wrote: I just wanted to say that I got Cocoon to run in WebSphere 5. However, it was not the cocoon.war file from the download, but instead

Re: WebSphere 5 and Cocoon - working w chello/cocoon 2.03

2003-01-22 Thread Cameron McKenzie
The Chello I downloaded came with cocoon2.0rc2.jar file. I'm using 2.03 in development, so I simply replaced the old one with the newer one, and there haven't been any problems. -Cameron On Wed, 22 Jan 2003, Gernot Koller wrote: What version of cocoon is this then ? When I last tried

Re: Schematron transform in a Cocoon pipeline

2003-01-22 Thread Jeremy Quinn
On Tuesday, Jan 21, 2003, at 20:58 Europe/London, John R. Callahan wrote: This seems too simple, but I wanted to see if I could use Schematron generated XSLT to validate some XML in a Cocoon pipeline. This might be used for validating uploaded XML files for example. You might find the

Re: Handling Internal Cocoon Exceptions

2003-01-22 Thread Joerg Heinicke
Hi Paul, a normal error-handling could look like the following (taken from samples sitemap): map:handle-errors map:transform src=context://samples/stylesheets/system/error2html.xsl/ map:serialize status-code=500/ /map:handle-errors If you use another XSL for it, you can at least change

java.lang.IllegalStateException: can't reset buffer after writing to client

2003-01-22 Thread dfeather
Hello, I found some messages in the archives similar to this, but I didn't find a good answer. I am trying to do a simple XSL transformation with cocoon. I am running Tomcat 3.3.1 final and Cocoon 2.0.4 on Windows NT 4.0. My transformation works, but then the following gets appended

Re: Schematron transform in a Cocoon pipeline

2003-01-22 Thread jtacaoio
Jack, I also use it to validate uploaded documents. First, when cocoon receives the document, I applied to it the first validation step with the parser (inside the generator): the parser will check that the document is well formed and valid according to a certain W3C XML Schema. But there

Flow Control

2003-01-22 Thread Konrad Hoszowski
Hello I'm new in Cocoon so please be patien :-) How should I build flow control in Cocoon, I guess it shuld be done in sitemap by defining the pipelines ( without useing one action to determin which page to show next) Am I right? -- Pozdrawiam Konrad [EMAIL PROTECTED]

xsl include doesn't reload changed included document?!?

2003-01-22 Thread Thomas Sandor
hi, I'm using the following line to include another xml in my XSLT file: xsl:apply-templates select=document(include/@url) mode=include / and the template section start as follows: xsl:template match=categories mode=include.../xsl:template The problem is that when I change something in the

create a taglib

2003-01-22 Thread Christophe Guillaume
Title: create a taglib I'm a relatively new to Cocoon and XSLT, but I've tested the article http://archives.real-time.com/pipermail/cocoon-users/2001-June/016150.html the example works for me JUST in the case that I add the following lines in sitemap.xmap map:match

Link Livesites: www.warnerbros.ch www.fox-warner.ch

2003-01-22 Thread Rene Graemer
Hello In Switzerland, Warner Bros.,Inc. Switzerland, also handles 20th Century Fox. The company acts as two separate legal companies. Both websites are powered by jakarta/cocoon. http://www.warnerbros.ch http://www.fox-warner.ch functionality includes: - administrating (content and rich media

Re: Link Livesites: www.warnerbros.ch www.fox-warner.ch

2003-01-22 Thread Tony Collen
On Wed, 22 Jan 2003, Rene Graemer wrote: Hello In Switzerland, Warner Bros.,Inc. Switzerland, also handles 20th Century Fox. The company acts as two separate legal companies. Both websites are powered by jakarta/cocoon. http://www.warnerbros.ch http://www.fox-warner.ch NICE! It's very

redirect-to with uri from action

2003-01-22 Thread Nico Bekema
Hi all, I would like to use a redirect-to in the sitemap using a uri that results from an action. Unfortunately it results in an Exception. I hope somebody can help me. The entry in the sitemap looks like this: map:match pattern=* map:act type=myAction map:parameter name=param

RE: redirect-to with uri from action

2003-01-22 Thread Geoff Howard
unless you have a typo below, you've put your redirect outside the map:act which is only executed in the event the action fails, so this pattern can't win: either the action is successful and you have no pipeline elements defined (generator and serializer are manditory) or your action fails and

RE: redirect-to with uri from action

2003-01-22 Thread Nico Bekema
thx Geoff. You are absolutely right. [EMAIL PROTECTED] 01/22/03 11:42PM From: [EMAIL PROTECTED] Sent: Wednesday, January 22, 2003 11:42 PM To: [EMAIL PROTECTED] Subject:RE: redirect-to with uri from action Priority: Normal unless you have a typo below, you've put your

Re: xsl include doesn't reload changed included document?!?

2003-01-22 Thread J.Pietschmann
Thomas Sandor wrote: I'm using the following line to include another xml in my XSLT file: xsl:apply-templates select=document(include/@url) mode=include / ... The problem is that when I change something in the included document, nothing happens, by the transformer, it uses the same previous

Redirect-to uri

2003-01-22 Thread Rajasekhar Atchutuni
Hi all, I am trying the redirect-to in the sitemap and I have some trouble here.

Re: Automatically generated linefeed before ?xml ...? in the JSPcauses SAXException

2003-01-22 Thread Murad Jura
Hello Eduardo, The qeq.jsp is a program that connects to remote URL using a HttpURLConnection object. I do it this way because I need modify some request properties. This remote URL returns XML data. The JSP simply writes You may use the SourceResolver to access to your remote XML. Another way

Re: SessionTransformer - Getting request parametervalues

2003-01-22 Thread Alex Romayev
Thanks Yves, however I'm not using xsp and according to Carsten from his earlier posting this functionality should work. Has anyone else used it? Thanks, -Alex --- Yves Vindevogel [EMAIL PROTECTED] wrote: I don't see the reason to use the SessionTransformer ... Use the XSP generator. This

XMLForm Xindice Howto added to Wiki [please, att. Ivelin]

2003-01-22 Thread Josema Alonso
Hi, all. Ivelin, I should have done it a long while ago, but it was not possible for me until this day. I added a HowTo on using Xindice with XMLForms. I tried to use the easiest possible way. I hope I had not too many faults. Please review it and comment it if you want. Hope it could be useful.

RE: Parsing multipart form data

2003-01-22 Thread Volker Schneider
Hi Collin, don't worry. I had the same problem with Cocoon 2.0.2. There is a bug in it. Use a later version and it will work. Best regards - Volker - -Original Message-From: Collin VanDyck [mailto:[EMAIL PROTECTED]]Sent: Montag, 20. Januar 2003 21:36To: [EMAIL

Cocoon Warnings when starting in JBoss 3.0

2003-01-22 Thread Robert Simmons
I deployed cocoon by basically dropping it in my jboss deployment directory. When i started the appserver, I got the following traces in the console. The ones that I am wondering about are the (Unknown-URI) Unknown-thread messages. Anyone know what's up ? -- Robert Begin relevant logged

Portal bug? - Using SessionTransformer inside coplets

2003-01-22 Thread Alex Romayev
I've run into a strange problem. It seems like using SessionTransormer inside a coplet results in java.lang.NullPointerException. Here is what I found: 1. If I run my coplet by invoking the coplet's uri directly everything works as expected. 2. If I invoke the coplet as part of a portal page

Cocoon Warnings when starting in JBoss 3.0

2003-01-22 Thread Robert Simmons
I deployed cocoon by basically dropping it in my jboss deployment directory. When i started the appserver, I got the following traces in the console. The ones that I am wondering about are the (Unknown-URI) Unknown-thread messages. Anyone know what's up ? -- Robert Begin relevant logged

Xindice in Cocoon

2003-01-22 Thread leona s
Hi All, I have a Cocoon application using several XML files that I would like to put into Xindice. I asked on the XSL list about calling Xindice directly from XSL statements, but that doesn't appear to be possible. I know that people have made Cocoon and Xindice work together, but all the

Re: XMLForm Xindice Howto added to Wiki [please, att. Ivelin]

2003-01-22 Thread Ivelin Ivanov
What is the URL? -=Ivelin=- - Original Message - From: Josema Alonso [EMAIL PROTECTED] To: Cocoon-Users [EMAIL PROTECTED] Sent: Wednesday, January 22, 2003 6:18 PM Subject: XMLForm Xindice Howto added to Wiki [please, att. Ivelin] Hi, all. Ivelin, I should have done it a long while

Re: Xindice in Cocoon

2003-01-22 Thread Murad Jura
Hello Leona, you may use the XML:DB pseudo-protocol and aggregation: map:match pattern=gs map:aggregate map:part src=xmldb:xindice:///db/project/project1001/ map:part src=xmldb:xindice:///db/project/otherResource/ /map:aggregate map:transform src=gs.xsl/ map:transform

RE: Antwort: i18n more!!!!!!!!! :(

2003-01-22 Thread Hong Gia Dinh
Title: RE: Antwort: i18n more! :( Thanks a lot, i applied it with encoding=utf-8 but it just can display some international character!!! some cant!! so .. do you know why and how to fix it?? i changed the encoding to ISO-8859-1 but i can not display any thing!!! does cocoon

RE: Cocoon Warnings when starting in JBoss 3.0

2003-01-22 Thread Geoff Howard
Unless I'm missing something, those all look like normal output during startup. Pretty sure the Unknown-URI is just because during startup, the messages are not associated with a particular request (and therefore uri). Similar issue for the Unknown-thread. Geoff Howard -Original

Antw: Mail-transformer

2003-01-22 Thread Martin Geissler
Hello, I have used the sample of the cocoon Book Cocoon: Building XML Applications 1. You need to write a own Mail Transformer place the class under web-inf/classes You can change the Package and the NAMESPACE to something you like more package com.business.cocoon.transformation; //import

RE: Portal bug? - Using SessionTransformer inside coplets

2003-01-22 Thread Matthew Langham
Which protocol are you using to call the coplets? a) cocoon:/ b) cocoon:raw:/ If you want to pass request parameters on to the coplet then you need to make sure you are using a). See also: http://marc.theaimsgroup.com/?l=xml-cocoon-usersw=2r=1s=cocoon%3Arawq=b Matthew -- Open Source Group