How about releasing 1.8.3?! (was: How to use Jfor with Cocoon 1.8.2 ?)

2001-08-30 Thread Drasko Kokic
Hi there, I was wondering if there is a possibility to release the 1.8.3 code from development!? I still need to work with C1 but need the newer releases of Xalan, Xerces, FOP, etc. Which steps needs to be done? TIA Drasko OT: Would anybody know how to use the XPathAPI class? I need to

Re: Separation of Logic and Content

2001-08-30 Thread Beat De Martin
Hello Liam I'm using Cocoon2. I don't see where your logicsheet (XSL) is ? It's like the greeting3 sample from the Cocoon2 homepage. Cheers BeatHello Lia, From: "Liam MacQuarrie Morley" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Subject: Re: Separation of Logic and

Re: Separation of Logic and Content

2001-08-30 Thread Mario Muja
Hi Beat, sorry for interrupting your discussion with Arnaud. What type of logic would you like to put into logic.xsl? Is it logic used to generate content (then an XSP page or a logicsheet is probably the best place for it)? Is it logic used to build the presentation layer (then the XSLT sheet

Re: Cocoon/Tomcat on a RAQ Cobalt3 with 64 MB RAM, possible ??

2001-08-30 Thread Mario Muja
On my desktop I am frequently using approx. 120 MB, when Cocoon/TomCat and my WebApp is loaded. Therefore, I think 64 MB is a little bit too less. Mario Samuel ARNOD-PRIN wrote: what do you think of such a configuration ? for a small web site. thank you

Database driver help

2001-08-30 Thread Andrei Bejenaru
Hi, I'm trying to use the JDBC Postgres driver instead of the standard ODBC in C2. What should I do to get it working ? - Please check that your question has not already been answered in the FAQ before posting.

Re: Problem installing cocoon

2001-08-30 Thread Raphaël Goulais
On Wed, 29 Aug 2001, G Crawshaw wrote: When I attempt to execute the following: ./build.sh -Dinclude.webapp.libs=yes webapp I get this error message ./build.sh: CP=.:/home/oracle734/jdbc/lib/classes111.zip: is not an identifier bin/ant and bin/antRun are in DOS format. You have do

Re: Problem installing cocoon

2001-08-30 Thread Raphaël Goulais
On Thu, 30 Aug 2001, G Crawshaw wrote: Thanks for your help - but this still does not seem to work. Could you try to fetch the cocoon2 cvs version, and see if you get the same problems. If this is not the case, try to see the differences between the cvs and tar versions of ant and antRun ...

Re: Database driver help

2001-08-30 Thread Andrei Bejenaru
It worked out, Thanx. I'm trying to use the JDBC Postgres driver instead of the standard ODBC in C2. What should I do to get it working ? Just put the postgresql.jar (for Postgresql 7.x), jdbc6.5-xx.jar (for Postgresql 6.5) in cocoon/WEB-INF/lib, edit cocoon/WEB-INF/web.xml and

how to bind servlets with xsl?

2001-08-30 Thread jose . camacho
I have a servlet which transform my biz logic to a xml. It goes to cocoon, and it assigns a xsl to my xml. But i want that this xsl to include others xsl ( include directive ). How can i redirect to get this new file.? i.e /xsl/myXsl1.xsl /xsl/myXsl2.xsl etc. thanx

RE: Requesting multiple selection lists

2001-08-30 Thread Chris Newland
Hi Andrei, Its hard to diagnose the problem without an example from your code :) This works for me by selecting the values from 1 column in the table and putting them into a combo box: ... esql:execute-query esql:query !-- select a single column from the table -- /esql:query

Re: Requesting multiple selection lists

2001-08-30 Thread Mario Muja
Hi, I agree with Chris, that some code examples would be helpful. From Andrei's description I think, that the problem is not the XSP code used to generate the HTML form but the fact that the list content does not arrive at the server when the form data is submitted (though all other data

C2: ESQL how to encode NOW() function

2001-08-30 Thread Chris Newland
Hi All, Can somebody tell me the correct way to encode the names of SQL functions in queries? I'm trying to set a DATETIME column to the current time by passing the function NOW() but the value is always ends up set to null. I've tried: esql:parameterNOW()/esql:parameter

Re: Requesting multiple selection lists

2001-08-30 Thread Andrei Bejenaru
Ok, look, this is what i get in the log: REMOTE HOST: localhost REMOTE ADDRESS: 127.0.0.1 REMOTE USER: null REQUEST SESSION ID: null REQUEST PREFERRED LOCALE: en_US SERVER HOST: localhost SERVER PORT: 8080 METHOD: POST CONTENT LENGTH: 303 PROTOCOL: HTTP/1.1 SCHEME: http AUTH TYPE: null REQUEST

Re: C2: ESQL how to encode NOW() function

2001-08-30 Thread Sébastien Lefebvre
My XSP pages work fine with the following stynax (I also use MySQL) esql:queryINSERT INTO TOTO VALUES ('','Hello',now())/esql:query You don't need the esql:parameter tag Sébastien Hi All, Can somebody tell me the correct way to encode the names of SQL functions in queries? I'm trying to set

Re: C1: ESQL: Pooling with mySQL?

2001-08-30 Thread Sébastien Lefebvre
You need to add a line in your cocoon.properties file. Check this and compare with your cocoon.properties file # These are the supported jdbc-drivers and their adaptors. # These properties are used by the DBFactory.

Re: Cocoon/Tomcat on a RAQ Cobalt3 with 64 MB RAM, possible ??

2001-08-30 Thread Samuel ARNOD-PRIN
Mario Muja a écrit : On my desktop I am frequently using approx. 120 MB, when Cocoon/TomCat and my WebApp is loaded. Therefore, I think 64 MB is a little bit too less. windows / linux ?? I can launch successfully tomcat/cocoon on a 20-30 MB JVM... so 64 should be enough, no ?

Re: Cocoon/Tomcat on a RAQ Cobalt3 with 64 MB RAM, possible ??

2001-08-30 Thread Mario Muja
I am currently using Windows 2000 Professional. I have checked it again. 124 MB used directly after a reboot and a new restart of my webapp/tomcat/cocoon. I use SVG in my webapp. Perhaps this significantly increases the memory used. Would be interesting to hear from other Win2000 users about

Re: C2 slow?

2001-08-30 Thread Berin Loritsch
Bernie Lee wrote: hi i was just wondering (newbie question). C2 seems slow loading a page. on my p2-500, 192MB RAM, running w2kpro, T4b7 and C2b2, it takes about 3 secs to load dynamic content. i'd imagine from the net, it might take 4-5 secs. doesnt that seem a tad slow? Assuming the

Re: Does CAPTURE.XSL work with C2 Beta 2 ???

2001-08-30 Thread Sylvain Wallez
Mario Muja wrote: Hi, the latest developer snapshot contains a logicsheet called capture.xsl that can be used to store a stream of SAX events to an XMLFragment variable. I would like to use this to store the results of an ESQL call to a static variable for later usage. Does this

C2 - Developer Snapshot - 2.0 or 2.1 ???

2001-08-30 Thread Mario Muja
Hi, which version do I get, when I download from the section Dev Snapshot on the C2 homepage? 2.0 or 2.1? Kind Regards, Mario - Please check that your question has not already been answered in the FAQ before posting.

Re: Tried just about everything

2001-08-30 Thread Matt Jezorek
I dont see the Xvfb stuff in the FAQ on how to fix it i did download a Xvfb rpm and had to get all of XFree86 stuff though but still Someone put in the mailling list the other day something to add to the startup script for Xvfb anyone remember it i cant find it in my mail now. -Matt -

Re: Tried just about everything

2001-08-30 Thread Marcus Crafter
Hi Matt, Have a look at xml-cocoon2/xdocs/faq.xml, line 600. Hope that helps. Cheers, Marcus On Thu, 30 Aug 2001, Matt Jezorek wrote: I dont see the Xvfb stuff in the FAQ on how to fix it i did download a Xvfb rpm and had to get all of XFree86 stuff though

Re: Cocoon/Tomcat on a RAQ Cobalt3 with 64 MB RAM, possible ??

2001-08-30 Thread Samuel ARNOD-PRIN
Mario Muja a écrit : I am currently using Windows 2000 Professional. I have checked it again. 124 MB used directly after a reboot and a new restart of my webapp/tomcat/cocoon. I use SVG in my webapp. Perhaps this significantly increases the memory used. Would be interesting to hear from

Re: [C2] Don't know how to use character encoding ?! Please HELP

2001-08-30 Thread Raphaël Goulais
On Thu, 30 Aug 2001, Samuel ARNOD-PRIN wrote: I confirm too, I still have charset=UTF-8... did you do something particular for this ? how can I rid of this *** UTF-8 ??? I put this on top of my xml files. ?xml version=1.0 encoding=ISO_8859-1? It works for me with Cocoon2-cvs Hope this

java.net.UnknownHostException while running Cocoon

2001-08-30 Thread praveen lakshman
Hi I am running cocoon with tomact serer. Everything works fine But In the News Feeds form If i click on any URL it is throwing this exception . Kindly help me in this regard. Is there any parsers built by Apache for News Feed .I heard they will be using RSS spec's for thatr. If possible

problem running cocoon

2001-08-30 Thread G Crawshaw
when i try to access /localhost/cocoon I get the following exception: org.apache.avalon.framework.configuration.ConfigurationException: Error trying to load configurations description: Cocoon was not initialized. anyone know why this is happening? cheers, Georgina

Re: [C2] Don't know how to use character encoding ?! Please HELP

2001-08-30 Thread Peter Nuetzel - inglobo
again: add encoding parameter to your HTML Serializer definition in your sitemap (in /map:sitemap/map:components/map:serializers) map:serializer name=html mime-type=text/html src=org.apache.cocoon.serialization.HTMLSerializer encodingISO-8859-1/encoding /map:serializer if this doesn't work

Re: Tried just about everything

2001-08-30 Thread Matt Jezorek
Big thanks. everything is running now http://www.bluelinux.org:8080/cocoon/ =) - Original Message - From: Marcus Crafter [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 30, 2001 9:14 AM Subject: Re: Tried just about everything Hi Matt, I've just checked my

Re: numeric entities

2001-08-30 Thread Peter Royal
At 11:19 AM 8/30/2001 -0700, you wrote: Because netscape 4.x does not support several character entities (e.g. ldquo;), I would like to restrict the html output of my xslt scripts to only numeric entities when processing xml. Is there any method for doing this as an xslt or configuration

Re: numeric entities

2001-08-30 Thread David Loy
I'm currently using cocoon 1.8 running on tomcat 3.2.1. The UTF-8 characters were imbedded in the source XML. I have replaced them with the numeric entity. Both give the same result - the named (character) entity appears in the generated HTML. As I understand the process, the HTML is

[c2] minimal subsitemap?

2001-08-30 Thread Christoph Kliemt
Hi! Is there a sample out there for a *minimal* subsitemap? Hmm... im afraid my version is too minimal, it yields an empty sitemap_xmap.java ;-) \\// christoph -- Real Programmers consider what you see is what you get to be just as bad a concept in Text Editors as it is in women. No, the

How to avoid caching ?

2001-08-30 Thread Roman Kunert
Hello, I am sure that this must have been answered previously but I haven't found anything in the archives... I have a xsp-page which retrieves content from the database via esql, this page gets transformed by an xsl-page to html. Changes to the xsl-page will be applied with the next request

RE: How to avoid caching ?

2001-08-30 Thread Tim Nelson
Roman, I had a similar problem with an XSL stylesheet which was retrieving XML content through an extension function. It ran great the first time but never changed until I restarted cocoon. I ended up creating a new transformer which didn't implement org.apache.cocoon.caching.Cacheable and now

my dream come true...c2 on 32mb windowz pc

2001-08-30 Thread java guru
Finally., I am able to run small c2 application with database access on windowz 98, 32 mb ram with precompile and subsidized sitemap:-) = Thanks and have great day srini Do You Yahoo!? Send a newsletter, share photos

Re: cocoon error

2001-08-30 Thread Peter Royal
At 11:56 AM 8/30/2001 -0700, you wrote: - Publishing Engine could not be initialized. java.lang.RuntimeException: Exception when creating org.apache.cocoon.processor.xsp.XSPProcessor : java.lang.NoSuchMethodError: See

RE: How to avoid caching ?

2001-08-30 Thread java guru
Hi., In reply to the original question of xsp-page changes NOT getting reflected immediately: 1. Please refer to the xsp-internals on xml.apache.org. Its clearly mentioned there that ** Once instantiated, the program is kept in an in-memory cache for speeding up subsequent requests. For

Re: Problem installing cocoon

2001-08-30 Thread G Crawshaw
Thanks for your help - but this still does not seem to work. I now get the following error message: bash$ ./build.sh -Dinclude.webapp.libs=yes webapp Apache Cocoon 2 Build System ./build.sh: CP=: is not an identifier if I execute each of the commands in the

Re: [c2] minimal subsitemap?

2001-08-30 Thread Christoph Kliemt
-S == Sergio Carvalho [EMAIL PROTECTED] writes: S Try the sub/sitemap.xmap. It's small enough as a base to work on. Thanks, this is a good idea. But it would be nice to know which parts are a must to have a simple sitemap to process a subsite containing say a simple index.xml. I do not

Disable-output-escaping Question

2001-08-30 Thread Caleb Blanton
I hear that this is the place to ask about disable-output-escaping in XSL. If I am correct, I would like to ask a minute of your time to help me with a problem I'm trying to solve. I'm currently porting our product and I am forced to use a new implementation of XML parsing/transforming. In this