Re: Include XML file

2002-03-07 Thread Donald Ball
On Thu, 7 Mar 2002, Stefano Bonnin wrote: I'd like to include an XML document inside another. With C1 I used util:include-file tag, but now, it (seems) doesn't work. How can I do this? you can use the xinclude or cinclude transformers, you can use the sitemap's aggregation features, or you

Re: Postgresql JDBC: NoAvailableConnectionException

2002-03-07 Thread Donald Ball
On Thu, 7 Mar 2002 [EMAIL PROTECTED] wrote: 1- I changed the datasource name (or pool name) to 'gesupply' (the name of the database) from 'personnel'. Is this needed normally? you normally create a datasource with an appropriate name. the sample is named 'personnel' since it's for a

Re: problems parsing xml from a foreign source in c2.0.0

2002-03-07 Thread Donald Ball
On Fri, 8 Mar 2002, Jeff Turner wrote: As a quick and dirty fix, you might want to try the SGML Open Catalog support that David Crossley added. That way you could map -//NLM//DTD QueryResult, 22 Jan 2002//EN to either the remote URL, or a local file (faster). thanks for the tip. i'd already

problems parsing xml from a foreign source in c2.0.0

2002-03-06 Thread Donald Ball
hey guys. i'm trying to retrieve some xml content over http to begin one of my pipelines: /nlm/query?author=Smith map:match pattern=nlm/query map:match type=request pattern=author map:generate

Re: problems parsing xml from a foreign source in c2.0.0

2002-03-06 Thread Donald Ball
On Thu, 7 Mar 2002, Nicola Ken Barozzi wrote: tried to figure out how to disable validation to ignore the issue completely. well, it seems that in c2.0.0, you cannot configure the parser's validation behavior in the cocoon.xconf file. i looked in the source for JaxpParser, and was

Re: problems with cocoon-2.0.1 and resin-2.0.3

2002-02-28 Thread Donald Ball
On Thu, 28 Feb 2002, Torsten Curdt wrote: That's exactly what I had... ...a fresh checkout solved it. see http://marc.theaimsgroup.com/?l=xml-cocoon-devm=101377449417740w=2 so you're saying that 2.0.1 is known to be broken with resin, but the latest cvs does work? - donald

problems with cocoon-2.0.1 and resin-2.0.3

2002-02-27 Thread Donald Ball
hey guys. i thought i'd take the webapp that was causing the xsp engine to hang in tomcat-4.0.2 with cocoon-2.0.1 and try it with resin-2.0.3 instead. interesting results... when i copy the webapp into resin's webapps area while the resin server is still running, it notices the new webapp,

Re: problems with cocoon-2.0.1 and resin-2.0.3

2002-02-27 Thread Donald Ball
one more bit of potentially useful information - when i start from scratch with a clean webapp tree, i note that cocoon-files directory created in the servlet's temporary work area, the only directories that are created are cache-dir and upload-dir - the org directory which normally serves as the

Re: OT: delay in message publishing

2002-02-26 Thread Donald Ball
On Mon, 25 Feb 2002, Luca Morandini wrote: is it just me, or there is someone else experiencing a four-hours-delay between sending a message and seeing it published on the list ? it's not just you, it's anyone who happens to send mail to this list from an account which is not subscribed to

Re: Help building

2002-02-11 Thread Donald Ball
On Mon, 11 Feb 2002, Tim Brown wrote: Just downloaded cocoon1.8.2. I have also tried 2.0. I get the following with *both* versions when I attempt to run build.sh: [tbrown@ctg0483 cocoon-1.8.2]$ ./build.sh Cocoon Build System --- Building with classpath

Re: How can I access clob using esql. Gives error java.lang.AbstractMethodError

2002-02-11 Thread Donald Ball
On Tue, 12 Feb 2002, Mumbai wrote: import java.lang.*; import java.sql.*; import java.sql.CallableStatement; import oracle.jdbc.driver.*; public class FirstThinDr { public static void main (String args []) throws SQLException { String s = null;

Re: cocoon sitemap to match all xml files?

2002-02-08 Thread Donald Ball
On Thu, 7 Feb 2002, Vishal Khatnani wrote: I would like to add a configuration on my sitemap that will match all xml files on my server and render using the appropriate stylesheet. I want it to look at the stylesheet specified in the xml file, and use that. i'm not aware of any way to do

Re: Cocoon-2.0/Tomcat with Postgres

2002-02-08 Thread Donald Ball
On Fri, 8 Feb 2002, heli wrote: Alex Kachanov wrote: what seems to be a problem? I use jakarta 4.0.1 and cocoon 2.0.1 and want to use PostgreSQL. I have the following problem: my test page says the following: Hello This is my first Cocoon2 page filled with sql data! This method is

a question on xsp and a question on parameterizing xslt

2002-02-07 Thread Donald Ball
hi guys, long time no see. if anyone's curious where i've been, see the apologetic post to cocoon-dev i just sent in. now, on to my questions. :) 1. a long while back, we had some discussion on whether or not one should be able to send a redirect from an xsp page. i'd thought the eventual

Re: Problems initializing cocoon2

2001-06-18 Thread Donald Ball
On Mon, 18 Jun 2001, Carlos wrote: Good afternoon: I am getting the following errors when tryinf to access cocoon2. I am accessing it over HTTP, and using JDK 1.3.0 on Linux Redhat 7 (thread moved to cocoon-users where it's relevant) looks like there's a jaxp parser that doesn't support

[c2.1] xsp question and a sitemap question

2001-06-12 Thread Donald Ball
1. it's quite simple. i want to pass parameters to my xsp page from my sitemap. the typical modus operandi is to do this: map:generate src=content/product.xml type=serverpages map:parameter name=foo value=bar/ /map:generate but how do i access the parameter from my xsp page? actions are given

Re: Cocoon and threads

2001-06-01 Thread Donald Ball
On Fri, 1 Jun 2001, Antonio Parolini wrote: Hi there, Let's think about the following XSP page accessed by two users in the same time: page xsp:logic String sName = session.getAttribute(name) ; [...] /xsp:logic Welcome xsp:exprsName/xsp:expr /page In

Re: [c2] cocoon.log outside of servlet context

2001-05-30 Thread Donald Ball
On Wed, 30 May 2001, giacomo wrote: how do I get the main Cocoon log into a directory outside of the servlet context? Have you removed the comment around the mentioned block in web.xml ;) Yes I have ;-) I just double checked it, and furthermore, the /WEB-INF/log/cocoon.log is

Re: a real example

2001-05-30 Thread Donald Ball
On Wed, 30 May 2001, Sky Torch wrote: Hello, can someone show me with a real example how to generate dynamic content in cocoon and cocoon2 ? the one i'm thinking is: welcome, remote host name. for cocoon, i'm thinking to write a processor to insert request.getRemoteHost() into content,

Re: svg cocoon

2001-05-29 Thread Donald Ball
On Tue, 29 May 2001, Ulrich Mayring wrote: What is not in beta? Cocoon2. (Cocoon1 can't serve SVG, but it can render it to PDF via fop) though it would seem to be easy as pie to write an SVGFormatter for c1, if anyone wants to take a gander at it. - donald