How to encode ISO-8859-1 characters into the Database?

2002-08-29 Thread Antonio Gallardo Rivera
I am using PostgreSQL 7.2.1 If I store a string value, like "Olé" in the Database without using Cocoon. I can get it back. Without any problem. It is stored correctly. But, In Cocoon 2.03 (Tomcat 4.1.9) I need to store values to the Database like "Olé". I saw that the Cocoon manipulate the dat

RE: Installing mysql JDBC Driver

2002-08-29 Thread Jessica Niewint
At 18.51 28/08/2002 +0200, you wrote: >I just dropped it into the lib folder. My setup in web.xml and >cocoon.xconf are like Jermey Aston desribed in his reply (only >difference are the classnames for connector/j). OK I dropped the mysql-connector-java-3.0.0-beta-bin.jar file ( I did not rename

Re: Installing mysql JDBC Driver

2002-08-29 Thread Jessica Niewint
If there are no config problems then post your web.xml and cocoon.xconf extracts and I'll have a look. the jar should be fine in WEB-INF/lib. I got exactly all this. The only point is that there a still the standard driver in my installation. my web.xml load-class

Deploying cocoon application on IBM Websphere under Z/OS

2002-08-29 Thread Gernot Koller
Hi! Im evaluating Cocoon for using it as presentation frontend in a IBM Websphere environment. The target platform should be WAS 5.0 running on Z/OS. Im rather concerned about the FOP/SVG Batik X-Server issue. As you can imagine no X-Server will be availabe under Z/OS, installing any AWT replacemen

RE: Deploying cocoon application on IBM Websphere under Z/OS

2002-08-29 Thread Piroumian Konstantin
Title: Message If don't need neither FOP nor Barik then you can simply remove all the related entries from your sitemap and remove all the libraries and components from Cocoon.   Also, take a look at the Cocoon FAQs, you'll find some answers to your questions.   -- Konstantin Piroumian [EM

Cocoon and ActiveX

2002-08-29 Thread Barbara Post
How do I set up the pipeline that reads my .cab to be able to include an activeX in the final html page ? It does not show up yet. I don't know which mime type to setup... Thanks, with C 2.0.3, jdk 1.3.1. Barbara - Please chec

RE: 2.0.2 -> 2.0.3

2002-08-29 Thread zze-STIENNE Nicolas FTRD/DMI/CAE
Hi !! Thanks a lot for this explanation... it realy helped me. Remember : I worked with Tomcat 4.0.4, JDK 1.3.1_03 and Cocoon2.0.2 under W2000. I want to use the Cocoon2.0.3 version. I installed it as describe in the "Installing Apache Cocoon" page. I have now another problem... and the m

Re: How to encode ISO-8859-1 characters into the Database?

2002-08-29 Thread Antonio Gallardo Rivera
I create the Database now using the following string: createdb -E LATIN1 -e mydb Where, LATIN1 is the encoding used by the database mydb is the name of the database Now When I wrote: "Olé" When I retrieve the values there are: "Olé" Please, somebody know how to resolve this problem. I used at

Re: How to encode ISO-8859-1 characters into the Database?

2002-08-29 Thread Barbara Post
go to the sitemap and first ensure that XML and HTML serializers have the following tag : iso-8859-1 What other components could be configured this way ? It solved my problem, so it may help yours, although I don't use XSP. Sitemap overrides XSP/XSL encoding Barbara - Original Message

RE: How to encode ISO-8859-1 characters into the Database?

2002-08-29 Thread Koen Pellegrims
I don't know about Postgres, but with MySQL, you can set a parameter on the jdbc-driver in web.xml eg.: ISO-8859-15 jdbc:mysql:/// > -Oorspronkelijk bericht- > Van: Antonio Gallardo Rivera [mailto:[EMAIL PROTECTED]] > Verzonden: donderdag 29 augustus 2002 10:45 > Aan: [

bug with javascript ?

2002-08-29 Thread Barbara Post
c203. My XSL contains some javascript : Is it normal that when I look at the source of my html output I see the full code (in the body part) written out ? i.e. : if (document.all){ document.writeln('Fw: bug with javascript ?
some snip because this darn antivirus believes that I am seding malicious code !! - Original Message - From: "Barbara Post" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 29, 2002 11:01 AM Subject: bug with javascript ? > c203. > > My XSL contains some javascript : >

RE: bug with javascript ?

mmm, I don't see where you need to use < and > tags. To make sure your javascript remains untouched, you could put the code in a CDATA section: Koen. > -Oorspronkelijk bericht- > Van: Barbara Post [mailto:[EMAIL PROTECTED]] > Verzonden:

[SUMMARY] How to encode ISO-8859-1 characters into the Database?

Barbara: Thank you Very much! It works fine now! Antonio Gallardo * SOLUTION by Barbara Post :) : go to the sitemap and ensure that XML and HTML serializers have the following tag: iso-8859-1

Re: bug with javascript ?

I tried your suggestion, Koen, (with "<" and ">") but now I see the javascript code on my html. It is not executed at all... I use IE 5.5. Barbara PS : sorry for double-posting I was warned by the antivirus software. - Original Message - From: "Koen Pellegrims" <[EMAIL PROTECTED]> To: <[

Re: [SUMMARY] How to encode ISO-8859-1 characters into the Database?

I guess Carsten helped me finding this out first ;-) So thanks to every guru here :-) Cocoon rules ;-) - Original Message - From: "Antonio Gallardo Rivera" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 29, 2002 11:25 AM Subject: [SUMMARY] How to encode ISO-8859-1 cha

Re: Fw: bug with javascript ?

Another thing you can do is put the JavaScript in a another file and call it from the XSL. This is my way to kept the most of JavaScript out of the XSL. Let said you have the JavaScript in a file called: myscript.js. You can include it into the XSL with a sentence like: Where, src is pointin

RE: bug with javascript ?

All I can do to help is show you the way I do it. I don't use the CDATA-section, because I need xsl-instructions to generate my JavaScript. Below is a snippet that works for sure (for me at least). (I did replace 'script' with 'scropt' in an attempt to fool the virusscan...) *snip*

difference between xsp-session and session

Hi, I was browsing Cocoon documentation and wondered what the difference in use and definition was between using xmlns:session="http://apache.org/xsp/session/2.0"; and xmlns:xsp-session="http://apache.org/xsp/session/2.0"; and also referencing it in code as or Examples are shown at http://

RE: difference between xsp-session and session

> From: Geert Poels [mailto:[EMAIL PROTECTED]] > > Hi, > > I was browsing Cocoon documentation and wondered what > the difference in use and definition was between > using > xmlns:session="http://apache.org/xsp/session/2.0"; > and > xmlns:xsp-session="http://apache.org/xsp/session/2.0"; Ther

RE: Installing mysql JDBC Driver

Took a closer look on my config, I also have com.mysql.jdbc.Driver in my xconf mysql part. I'm not sure if this could make a difference. Back when I was having problems setting mysql up on a JDK1.3.1 box, someone pointed me to the fact that I'd better use the latest versions possible of required s

Fop and extensions ... sorry

Hi folks, Sorry I know this has been posted b4 but I still cant find the answer!!! I am using the following code to pass a request to serialise a pdf for output. Now it works great ... But damn explorer does not recognise the mime type as a pdf doc but it does know its a binary file. It just see

RE: Fop and extensions ... sorry

Simple solution: you could match on any extension, so the browser can ask for "display_Works/file.pdf?style=green" You could use this mapping to remove the 'pdf' request parameter as well. Koen > -Oorspronkelijk bericht- > Van: Tim Cavanagh [mailto:[EMAIL PROTECTED]] > Verzonden: don

Re: Installing mysql JDBC Driver

Hi Jessica, Looks OK and you should be able to run the hsqldb driver as well.  I have had no problems with mySQL on 2.0.3 and JDK 1.4 so you could try that.  You could also comment out all the other driver references and the other pools to check there are no conflicts.  I'm not sure that any of th

Re: Installing mysql JDBC Driver

Oh yeah, I forgot you might want to try extracting the jar into WEB-INF classes to see if that makes a difference.  If that works I don't know what it should be able to get the class from classes and not inside the JAR... jez   Jeremy Aston <[EMAIL PROTECTED]> wrote: Hi Jessica, Looks OK and yo

RE: cocoon KILLS Tomcat

Dear Luca, Thnx for your help. Your advice makes sense. Therefore, i add another line catalina_opts="-Xmx128m" to my bash profile. Unfortunately, i run into yet another problem when i want to start Tomcat with Cocoon. The following is the error message: java.lang.UnsupportedClassVersionError: o

RE: Cocoon and ActiveX

Bárbara, Have you already tried to use "application/octet-stream"? Regards, Igor > How do I set up the pipeline that reads my .cab to be able to include an > activeX in the final html page ? It does not show up yet. I don't know > which > mime type to setup... >

RE: difference between xsp-session and session

>> xmlns:xsp-session="http://apache.org/xsp/session/2.0"; >There is no difference as long as the namespace URI is the same. The >namespace prefix is just a short name for the namespace URI. That's what I assumed at first, but as one example showed otherwise. ** How about the necessity of create-s

2.0.2 -> 2.0.3 - generator

Hi !! Thanks a lot for this explanation... it realy helped me. Remember : I worked with Tomcat 4.0.4, JDK 1.3.1_03 and Cocoon2.0.2 under W2000. I want to use the Cocoon2.0.3 version. I installed it as describe in the "Installing Apache Cocoon" page. I have now another problem... and the

RE: Making a new Action

Hi, I have a further question on this. >>Actions are java code which i write seperatly from everything else. >right. >>Do i save this file as a.java or .jsp? >.java, and then you compile it. >>What directories do i have to place in into in order for it to properly compile >you can compile

RE: Installing mysql JDBC Driver

Hi,   I've been following this thread as I am sitting with the exact same problem. However I think I just got a bit further by unzipping the jar and putting it in the WEB-INF/classes directory. Thanks Jeremy! Tomcat now starts without trouble, but I get a Cocoon error page when requesting an

RE: Making a new Action

> -Oorspronkelijk bericht- > Van: praktikant [mailto:[EMAIL PROTECTED]] > Verzonden: donderdag 29 augustus 2002 15:10 > Aan: [EMAIL PROTECTED] > Onderwerp: RE: Making a new Action > > > Hi, > I have a further question on this. > > >>Actions are java code which i write seperatly from ever

Re: cocoon KILLS Tomcat

Hi Roger, Maybe your jasp compiler has a problem or if you use Windows (I guess not) check out the registry : maybe your Current Version of JDK and JRE is not right... key : HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft and subkeys. java -fullversion should be right too. This was a reason why I ran int

RE: Unit testing xslt

I have unit tests for all my xslt. I'm not using XSLTUnit (which is a fine program)--in my case, for each xslt file, I have a one or more test input files and corresponding reference files which are the expected result when I run the transform. I use file names/extensions to group them: myScript

I get it too !! OutOfMemory error... (Tomcat killed...)

Suddenly my sitemap doesn't compile. I have been doing other things for an hour, cocoon was "asleep". I look into Tomcat's output window and read : java.lang.OutOfMemoryError <> Great ! I never had such a bad thing before ! JDK 1.3.1, C2.0.3, Tomcat 4.0.4 with default catalina options,

RE: [ANN] Another article on Cocoon - Web Syndication

That article was published on January 1, 1970 only few days before I was born. Can't believe cocoon is older than I am :) Artur... - Please check that your question has not already been answered in the FAQ before posting.

Re: Installing mysql JDBC Driver

At 12.02 29/08/2002 +0100, you wrote: You were so right ! It was the jar file. Somehow it was damaged or because I copied it from my server to my windows desktop ... now I have done every step with unix and everything is fine. So now I got : jdk 1.4.0 tomcat 4.0.4 cocoon 2.0.3 and the mysql-conn

RE: [ANN] Another article on Cocoon - Web Syndication

Title: RE: [ANN] Another article on Cocoon - Web Syndication a typical Y2k bug in Unix :) > -Original Message- > From: Artur Bialecki [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 29, 2002 10:00 AM > To: [EMAIL PROTECTED] > Subject: RE: [ANN] Another article on Cocoon - Web Syn

Re: cocoon KILLS Tomcat

Hi Babara What do you mean by jdk and jre not right? I am currently logged into a Solaris 5.X system. I installed Cocoon in Windows and it is fine. Just that installing on the Solaris Unix without root perm giving me a hell of time.Can you tell me what exactly happen you last time and how you

RE: Unit testing xslt

Hi, We maintain a base set of XSLs for each client project (similar to Forrest). We have a need to update or 'fix' XSL's. This requires some functional testing. We first transform to an XML document that describes the structure. Here is a snippet of the XSLT: A basic 1 column layout.

Re: cocoon KILLS Tomcat

Hi Roger, I mean that I had a registry key conflict about jdk/jre version, and may have had other wrong things. I am sorry I cannot help further. - Original Message - From: "Roger Ting" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 29, 2002 4:19 PM Subject: Re: cocoon

Re: [ANN] Another article on Cocoon - Web Syndication

Ivelin, very nice article. Are you going to include parts of it within Cocoon documentation? Thanks Michael Ivelin Ivanov wrote: > http://www.webservices.org/index.php/article/articleview/613 > > > -=Ivelin=- > > > - >

Re: [ANN] Another article on Cocoon - Web Syndication

Lol, then Ivelin Ivanov is a really visionary guy. He realize since 1970 all about Cocoon and Web Syndicate! Anyway, very nice article. Antonio Gallardo El Jueves, 29 de Agosto de 2002 08:00, Artur Bialecki escribió: > That article was published on January 1, 1970 > only few days before I was

fonts change when using svg2jpeg

Hi all, I have created a simple pipeline to create an svg document which is then serialized using the SVGSerializer. The text in the document is Eras, but when it goes through the serializer it is converted to a default font.

SOAP xsp taglib with Axis ?

Hi All, Hope all is well. Was just wondering if anyone has had success using the soap taglib that comes with Cocoon CVS, with Axis CVS ? For some reason I can't seem to get any response from my AxisServlet when using this taglib. Some debu

RE: SOAP xsp taglib with Axis ?

Marcus, I have gotten it to work. I'm using Cocoon 2.0.3, Axis b3, and Tomcat 4.0.4 on Sun JDK 1.4.0_01 on Redhat 7.2. After some investigation into the sources for the soap logicsheet I discovered that you can provided just the method call and it will be encapsulated in a correct SOAP envelop

[ANN] Another article on Cocoon - Web Syndication

http://www.webservices.org/index.php/article/articleview/613 -=Ivelin=- - Please check that your question has not already been answered in the FAQ before posting. To unsubsc

Enabling client browser to cache content from cocoon

Hello, I have a pipeline that generates a javascript document. It is referenced and requested by the client from other dynamically-generated html documents. It works fine, but I want to cache the javascript in the client browser and I can't find the way to do it. I tried to set the Expires

Re: C2.0.3 silently ignoring exceptions

I agree users shouldn't see the stacktrace, but neither should they get a page that looks basically right but with no data, no errors, and no explanation that a problem has occurred - this might be even worse, as it might lead them to believe something (there is no data matching their search, for

Re: C2.0.3 silently ignoring exceptions

aggh! The listserv host rejected my mail as too large. Okay, I'll try it again without the xconf and web.xml. If these seem relevant, I'll send them separately. - Forwarded by Christopher Painter-Wakefield/mcis/mc/Duke on 08/29/2002 03:06 PM - Thanks for the reply. I've attached some

Re: C2.0.3 silently ignoring exceptions

did anyone get the mail with the attachments? I had to resend it with fewer attachments because it was rejected as too large the first time. The second time it seemed to go through (I received it from cocoon-users), but I got a different message complaining about the size, plus a separate messa

RE: C2.0.3 silently ignoring exceptions

Title: RE: C2.0.3 silently ignoring exceptions I got it. -Original Message- From: Christopher Painter-Wakefield [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 12:14 PM To: [EMAIL PROTECTED] Subject: Re: C2.0.3 silently ignoring exceptions did anyone get the mail with

RE: C2.0.3 silently ignoring exceptions

thank you. I got it. -Original Message- From: Christopher Painter-Wakefield [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 12:14 PM To: [EMAIL PROTECTED] Subject: Re: C2.0.3 silently ignoring exceptions did anyone get the mail with the attachments?  I had to resend it wi

Re: problem using XSP in Weblogic

Hi, With reference to this link .. I was able to solve the problem I was struggleing for quiet a bit of time..     http://archives2.real-time.com/rte-cocoon/2000/Jan/msg00130.htmlThanks a lot Mr. Russell Castagnaro   regards,   Sachin AbhyankarGet more from the Web. FREE MSN Explorer downlo

Re: Counting rows in a resultset

If running two queries is not out of the question for some principal reasons, I'd suggest the following: Run a query with LIMIT 1, 1. That query will return results ONLY if there are two or more rows that match. Then run your second query both inside the and inside . I would suggest using

Problem compiling WizardAction.java for XMLForms

I'm trying to compile my version of WizardAction.java and get a version error. Can anybody help me figure this one out? Cocoon 2-1.dev on Linux, Tomcat 4.0.2 [root@orion classes]# javac -classpath /var/tomcat4/webapps/cocoon/WEB-INF/lib/cocoon-2.1-dev.jar:/var/tomcat4/webapps/cocoon/WEB-INF/li

Re: Fop and extensions ... sorry

Hi Koen, Thanks that is a great solution and works well. But how can I use this to remove the request params? Don¹t hey have to be explicit cause one is serializing with fop and the other is just the default? Cheers Tim On 29/8/02 8:19 PM, "Koen Pellegrims" <[EMAIL PROTECTED]> wrote: > Simpl

(SUMMARY)Re: Problem compiling WizardAction.java for XMLForms

Doh. I was using the wrong javac. Bobby Mitchell wrote: > I'm trying to compile my version of WizardAction.java and get a > version error. Can anybody help me figure this one out? > > Cocoon 2-1.dev on Linux, Tomcat 4.0.2 > > [root@orion classes]# javac -classpath > >/var/tomcat4/webapps/coco

Parameter set by user

I was trying to find information on how to pass a parameter from the HTML page down to the XSL, do invoke portions of the stylesheet. From what results to me, this depends on the transforming machine used. I found information on how to pass parameter values to XALAN via the command line. How would

RE: Parameter set by user

Matthias, here's the relevant link in the doc: http://xml.apache.org/cocoon/userdocs/transformers/xslt-transformer.html Regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it

Re: Fop and extensions ... sorry

Hi Koen, Thanks that is a great solution and works well. But how can I use this to remove the request params? Don¹t hey have to be explicit cause one is serializing with fop and the other is just the default? Cheers Tim On 29/8/02 8:19 PM, "Koen Pellegrims" <[EMAIL PROTECTED]> wrote: > Simpl

Re: [ANN] Another article on Cocoon - Web Syndication

We can include the whole piece in the Cocoon docs. No copyright issues. Willing to help :-? I liked your xdoc on the ServletProxy. My xdocs skills are lagging behind, so I will appreciate assistance. Cheers, Ivelin - Original Message - From: "Michael Wechner" <[EMAIL PROTECTED]> To

FOP again.. And html

Hi, Sorry if this is the wrong place to ask this question.. I am using fop to serialize pdf from xml docs. Is it possible to substitute or remove html tags that are mixed in with plain text within an XML element. These tags are only simple ones like xsx and OL's, UL's. Can this be done with fo

Re: Problem compiling WizardAction.java for XMLForms

You have a class in the org/apache/cocoon/niac/list/WizardAction.java directory. Did you make sure that the package declared within the class is org.apache.cocoon.niac.list ? - Original Message - From: "Bobby Mitchell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 29

Re: [ANN] Another article on Cocoon - Web Syndication

I think the date is ok now. Although I have to assure you that I have the original idea since 1970 ... ;) - Original Message - From: "Antonio Gallardo Rivera" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 29, 2002 11:35 AM Subject: Re: [ANN] Another article on Coco

Re: Problem compiling WizardAction.java for XMLForms

Yes, but I changed the directory to niac/list and it compiled OK. Ivelin Ivanov wrote: >You have a class in the >org/apache/cocoon/niac/list/WizardAction.java >directory. Did you make sure that the package declared within the class is >org.apache.cocoon.niac.list >? > >- Original Message ---

using seletor to test 2 or more request parameter

I have a selector in pipeline This works just fine, but this tests only one request parameterif someone wants to test 2 or more parameter..how is that done? I also tried something like :

Re: FOP again.. And html

On Fri, Aug 30, 2002 at 10:23:31AM +0930, Tim Cavanagh wrote: > Hi, > > Sorry if this is the wrong place to ask this question.. > > I am using fop to serialize pdf from xml docs. > > Is it possible to substitute or remove html tags that are mixed in with > plain text within an XML element. The

XSLT logicsheet parameter issues

Hi, We've got a custom XSLT logicsheet running on Cocoon 2.0.3/Tomcat that for some reason can't seem to read parameters using the request object inside the tags. We've just converted the code in XSP file (which did work but was getting a little big) to an XSLT logicsheet. Do we need to pass on

Re: XSLT logicsheet parameter issues

Hello, Depending on what you need to do with the XSL file, pass as many parameters (then : xsl:param) as you need... Don't forget to place a map:act type="request" at the beginning of the pipeline and for the xslt transformation. HTH - Original Message - From: "Rob Grundel" <[EMAIL PROT