Re: Cocoon problems generating html output

2003-06-04 Thread Jeff Turner
On Wed, Jun 04, 2003 at 10:37:47AM +0200, Joerg Heinicke wrote: Hello Rob, to make it short: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15316 Are absolute paths an option for you? Btw, the 'realpath' input module is useful here, for passing in the absolute context path into the

Re: warning message in core.log

2003-04-03 Thread Jeff Turner
On Thu, Apr 03, 2003 at 11:48:36AM +0300, Stavros Kounis wrote: i have to look for default as attribute in map:components element or in child elements of map:component? Most children of map:components ought to have a 'default' attribute. the only child element without 'default' attribute

Re: warning message in core.log

2003-04-02 Thread Jeff Turner
On Thu, Apr 03, 2003 at 02:31:32AM +0300, Stavros Kounis wrote: hi i get this warning message in my core.log in every hit is something i have to worry about? message: WARN(2003-04-03) 02:21.59:452 [core.manager] (/xml/forestland.gr/themes/images/progs/11/thumbnails/3.jpg)

Re: DSML Cocoon

2003-04-01 Thread Jeff Turner
On Tue, Apr 01, 2003 at 03:19:53PM +0400, Yury Mikhienko wrote: Hi all! Does anyone know how to implement a DSML(Directory Service Markup Language) into cocoon? There was once an LDAP taglib for Cocoon 1 that returned DSML: http://opensource.socialchange.net.au/ldaptaglib/ Probably

Re: ExcaliburComponentSelector: Attempted to release a null component WARNiNG?

2003-03-20 Thread Jeff Turner
On Thu, Mar 20, 2003 at 06:03:16AM -0500, Tsui, Alban wrote: I have the following warnings in my core.log from cocoon and what do they mean? ... Which version of Cocoon? --Jeff (who is getting herds of these with CVS 2.1)

Re: XPathDirectoryGenerator - need help

2003-03-18 Thread Jeff Turner
On Tue, Mar 18, 2003 at 11:27:27AM -0800, [EMAIL PROTECTED] wrote: Maybe I do not understand the XPathDirectoryGenerator: Also tried: KNO\#/azkno:knowledgeobject/dc:title/text() Same, tag content is not displayed !? Probably because XPathDirectoryGenerator doesn't provide a way to

Re: action in a pipeline

2003-03-18 Thread Jeff Turner
On Tue, Mar 18, 2003 at 05:13:46PM +0100, Lionel Crine wrote: I wrote that this match: map:match pattern=save/* map:act type=Save map:parameter name=save value={1}/ /map:act /map:match Can't see anything wrong with that. I assume you have a

Re: Dynamically generate RSS feed for Cocoon portal from XML files

2003-03-11 Thread Jeff Turner
On Tue, Mar 11, 2003 at 05:11:30AM -0800, [EMAIL PROTECTED] wrote: Dear all, I would like to dynamically generate an RSS feed from currently available XML files in a folder on my webserver to be displayed in the Cocoon portal. I have a set of equally structured XML files in a folder and

Re: Way to make XML generator ignore DTD declaration?

2003-03-10 Thread Jeff Turner
On Mon, Mar 10, 2003 at 07:25:00PM -0500, Colin W. Kingsbury wrote: Hi all, I have an XML document which includes a dtd declaration like so: !DOCTYPE foo PUBLIC -//foo//foo document//EN foo.dtd [ !ENTITY bar bar ]foo/foo Everything works fine -if- I delete the DTD declaration. But only

Re: AbstractTransformer or AbstractSAXTransformer?

2003-03-08 Thread Jeff Turner
On Sat, Mar 08, 2003 at 04:27:41AM -0800, gv wrote: I am writing a custom transformer that has to read all the XML into a data structure, manipulate the structure, then finally write everything in the structure back out. DOMTransformer gives you a nice DOM to play with. --Jeff From where

Re: [NOTICE] *** CVS REPOSITORY SPLITUP ***

2003-03-08 Thread Jeff Turner
On Sun, Mar 09, 2003 at 01:04:26AM +, Pier Fumagalli wrote: Folks, being now Sunday in London (and God knows if I'm going to wake up tomorrow), I actually split the CVS as agreed. ... Wiki page created to help people move existing 'xml-cocoon2' checkouts across:

Re: Semantic linking (Re: Cinclude issues...)

2003-02-13 Thread Jeff Turner
On Thu, Feb 13, 2003 at 09:09:21AM -0500, Ben Young wrote: Hey Jeff, I've got cocoon-2.1 CVS up and running. I'm getting ready to play with some of the LinkRewriter stuff. I think the semantic linking will be a huge help in certain areas of our site. I'm glad I can continue to use the old

Semantic linking (Re: Cinclude issues...)

2003-02-11 Thread Jeff Turner
On Tue, Feb 11, 2003 at 03:22:53PM -0500, Ben Young wrote: Ok, Jeff. I've been pondering this site.xml thing all day. Btw, the LinkRewriterTransformer is currently only in 2.1. Although as the InputModules it depends on are also in 2.0.4, it could be ported fairly easily. asideBTW, thanks for

Re: Cinclude issues...

2003-02-10 Thread Jeff Turner
Thoughts, Ben Jeff Turner [EMAIL PROTECTED] 02/09/03 07:33 AM On Fri, Feb 07, 2003 at 09:00:19PM -0500, Ben Young wrote: I've recently attempted to use the cinclude to aggregate some files that I'm currently aggregating with the map:aggregate command, but I've run into some issues

Re: Cinclude issues...

2003-02-09 Thread Jeff Turner
On Fri, Feb 07, 2003 at 09:00:19PM -0500, Ben Young wrote: I've recently attempted to use the cinclude to aggregate some files that I'm currently aggregating with the map:aggregate command, but I've run into some issues that I'm not sure how to resolve. My current map:match section looks

Re: Using Cocoon and ($tool) to generate static pages.

2003-02-09 Thread Jeff Turner
On Thu, Feb 06, 2003 at 06:07:02PM +0100, Andrea Censi wrote: Which is the best tool to create an offline copy of a cocoon live site? It should spider through the pages, follow every link and gather both html and images/css/pdf. Then it should rearrange internal links from absolute to

Re: Cocoon 2.1 the usability release?

2003-01-27 Thread Jeff Turner
On Mon, Jan 27, 2003 at 01:28:30AM +0100, Robert Simmons wrote: One other feature would be more extensive documentation in the API. To see what I mean, look at the class level documentation on LinkSerializer. Hrmm ... I still don't know what it does. Perhaps its time to bust people's chops to

[OT] Re: Single JAR with all the libs?

2003-01-27 Thread Jeff Turner
On Mon, Jan 27, 2003 at 01:17:07PM +0100, Robert Simmons wrote: Does anyone know how, in Ant, to take a fileset and convert it to a space delimited list of files? Something like: pathconvert property=list dirsep= path refid=... /pathconvert --Jeff -- Robert

Re: Using docbook chunk.xsl with cocoon

2003-01-27 Thread Jeff Turner
On Sun, Jan 26, 2003 at 10:03:10AM +0800, Perry Molendijk wrote: I can post details if that's the problem you're trying to solve. Jeff that would be great if you could post this. (sorry for the delay) I used something close to this: map:transformers ... map:transformer name=xpath

Re: Cocoon versus taglibs

2003-01-25 Thread Jeff Turner
On Sat, Jan 25, 2003 at 01:26:09PM +0100, Jordi Valldaura wrote: Hello, Im developing a litle intranet (plug.. http://xml.apache.org/forrest/ :) , I want to use XML and i18n so I need XSLT transformation and internacionalization support. I was planning to use cocoon, but Jeff Turner said

Re: Cocoon is too complex for consumption?

2003-01-25 Thread Jeff Turner
On Sat, Jan 25, 2003 at 06:22:10PM +0800, Niclas Hedhman wrote: On Saturday 25 January 2003 14:17, Robert Simmons wrote: That is the impression that I am getting and I'm curious as to feedback from list users. I bet you will ;o) So how could cocoon be of use to me and others like

Re: how to configure cocoon to spot sitemap changes without restarting

2003-01-24 Thread Jeff Turner
On Fri, Jan 24, 2003 at 02:07:16PM +, Simon Price wrote: I've not used cocoon for 3-4 months but I've just downloaded and got the new 2.1 head running. There's some nice improvements - well done. Last time I used cocoon I had to make some changes in cocoon.xconf so that any edits to

Re: The simplest possible cocoon application?

2003-01-24 Thread Jeff Turner
On Sat, Jan 25, 2003 at 05:21:13AM +0100, Robert Simmons wrote: I currently have the cocoon war installed on my JBoss 3.0.4 server. It works fine. I deployed a second war file that contains an XML and an XSL. The XML has an embedded xsl:stylesheet processing instruction. Embedded stylesheets

Re: Using docbook chunk.xsl with cocoon

2003-01-24 Thread Jeff Turner
On Fri, Jan 24, 2003 at 04:45:43PM +1000, Jerome Paul wrote: Hi, I'm trying to convert xml documents using docbook-xsl-1.58.1\html\chunk.xsl with tomcat 4.0 and cocoon 2.0.4 windows 2000. Anyway the conversion takes a while (it's converting a decent sized xml document) when the conversion

Re: The simplest possible cocoon application?

2003-01-24 Thread Jeff Turner
On Sat, Jan 25, 2003 at 06:26:42AM +0100, Robert Simmons wrote: - Original Message - From: Jeff Turner [EMAIL PROTECTED] To: Cocoon Users [EMAIL PROTECTED] Sent: Saturday, January 25, 2003 6:02 AM Subject: Re: The simplest possible cocoon application? On Sat, Jan 25, 2003

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: 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: serializing inside a transformer

2003-01-20 Thread Jeff Turner
On Mon, Jan 20, 2003 at 01:00:41PM +0100, Oskar Casquero wrote: Hi, I would like to serialize SAX events to a file inside a transformer, so that I can validate the file with the parser. The problem is that I don't how to set the serializer in order to make it able to receive the SAX events

Re: xinclude performance issues,

2003-01-20 Thread Jeff Turner
On Thu, Jan 16, 2003 at 03:11:37PM -0800, icewind wrote: Let me describe what I am doing: I have a directory that contains .xml files. In my sitemap, I have a pipeline that starts with a DirectoryGenerator on this directory. I then have a transformation that takes the directorygenerator's

Re: serializing inside a transformer

2003-01-20 Thread Jeff Turner
On Mon, Jan 20, 2003 at 07:52:24PM +0100, Oskar Casquero wrote: I agree with you. I thought that using a serializer would be useful to get an input source for the parser. But now I see that it would be much better to use JARV to develop the transformer based only in SAX events (use 4_2 of

Re: TransFormers

2002-10-16 Thread Jeff Turner
On Wed, Oct 16, 2002 at 01:57:38PM +0900, Tanmay Kumar wrote: Hi all, I am finding Cocoon very useful for our project. Thanks a lot to the developers... I have one requirement like this. Is there any Cocoon class to address this issue? Input will be a DOM node, but while parsing the DOM

Re: Aggregation of xml in a directory

2002-10-13 Thread Jeff Turner
On Sat, Oct 12, 2002 at 02:08:16PM +0100, Alex McLintock wrote: Hi folks, I am trying to figure out how to get Cocoon to display all the xml files in a directory without being explicitly told each of their names in the sitemap. Have a look at the XPathDirectoryGenerator in the

Re: XML to PDF

2002-10-11 Thread Jeff Turner
On Fri, Oct 11, 2002 at 01:42:33PM +0200, Marquardt, David wrote: ... Is there any possibility to create a dynamic barcode in XML and to show it in PDF format via Cocoon? http://www.google.com/search?q=barcode+fop looks interesting. --Jeff I'd really appreciate if you sent me a short

Re: Cocoon on Headless Linux with JDK1.4

2002-10-02 Thread Jeff Turner
On Wed, Oct 02, 2002 at 09:05:16AM +0200, Bert Van Kets wrote: My ISP can provide me with a headless web server running Suse 7.3, Resin 2.4 (I think) and JDK 1.4. He does not want to install the X libraries due to security reasons :-( Is there an alternative? AFAIK pja does not run on JDK

Re: Cocoon on Headless Linux with JDK1.4

2002-10-02 Thread Jeff Turner
On Wed, Oct 02, 2002 at 01:04:29PM +0200, Bert Van Kets wrote: Doesn't Xvfb need the X libraries too? I don't think so; at least Debian doesn't list any X packages as a dependencies, and says Xvfb can be used as an aid to porting the X server to a new platform. --Jeff Bert

Re: Other webapps with Cocoon

2002-09-24 Thread Jeff Turner
On Mon, Sep 23, 2002 at 04:14:06PM -0500, Mark Kent wrote: Simple question (easy answer?) We are using the JBoss-3.0.0_Tomcat-4.0.3 package and running our webapps from the deploy folder in [JBOSS_HOME]/server/default/deploy (where the webapps are deployed). The Cocoon 2.0.3 (as

Re: Problem with homemade logicsheet

2002-09-24 Thread Jeff Turner
On Tue, Sep 24, 2002 at 01:25:22PM +, Alan Hodgkinson wrote: ... xsp:styesheet version=1.0 ^^^ Probably just a typo in the email, but make sure that the real thing has 'xsl', not 'xsp'. I've made that mistake a few times ;P --Jeff ...

Re: Cocoon 2.1 Build Problem

2002-09-21 Thread Jeff Turner
On Sat, Sep 21, 2002 at 02:18:54AM -0500, Ivelin Ivanov wrote: For the last few nights I have been trying to build the latest code from CVS HEAD. build clean webapp-local always succeeds, but the generated class files are corrupted. Also the libraries files copied under WEB-INF/lib are

Re: XPath transformer?

2002-09-02 Thread Jeff Turner
On Fri, Aug 30, 2002 at 10:55:03AM +0200, Luca Morandini wrote: Not easily, because the 'match' attribute cannot be dynamic. Eg, I Oh, I see... so you want a *dynamic* selector. Hmm... this was not apparent from your example, It seemed you wanted just a way to select one chapter amongst

XPath transformer?

2002-08-30 Thread Jeff Turner
Hi, I have a user manual in XML format: document body s1 title=Introduction ... /s1 s1 title=Getting Started ... /s1 ... /body /document Is there any way that I could extract out just one s1 element, and render it as a page? Ie, like an XPath transformer,

Re: XPath transformer?

2002-08-30 Thread Jeff Turner
the xinclude-transformer (which, IIRC will be merged with the cinclude transformer into a single 'include'-transformer in the near future). That's a good idea. I'll have a go. thanks, --Jeff K. -Oorspronkelijk bericht- Van: Jeff Turner [mailto:[EMAIL PROTECTED]] Verzonden: vrijdag 30

Re: FOP again.. And html

2002-08-29 Thread Jeff Turner
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. These tags

Re: Content-Disposition Header Field and Reader

2002-07-28 Thread Jeff Turner
On Fri, Jul 26, 2002 at 10:56:21PM -0400, Vadim Gritsenko wrote: From: Tammo van Lessen [mailto:[EMAIL PROTECTED]] Hello, i've a question about sending response headers in a reader. I would like to send a file to the browser with an other filename than the request url. Ex:

Elephants and Mavericks (Re: Giving up! Cocoon too big, slow and confusing)

2002-06-29 Thread Jeff Turner
Thanks for the honest words, instead of silence. I am reminded of the following definition: second-system effect n. When one is designing the successor to a relatively small, elegant, and successful system, there is a tendency to become grandiose in one's success and design an

Re: Separating icons' file name from main XSL

2002-03-07 Thread Jeff Turner
On Wed, Mar 06, 2002 at 04:21:23PM +0100, TREGAN Fabien wrote: Hi, I'm making my first Cocoon application. Like many others, all it does is open an XML file and create a table from it using an XSL file. I'd like to have the definition of each icon's file to be outside of the XSL (to be

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

2002-03-07 Thread Jeff Turner
Hi Donald, 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). --Jeff On Thu, Mar 07, 2002 at 12:29:43AM -0500, Donald Ball

[OT] Cocoon - jakarta-taglibs similarities

2002-01-02 Thread Jeff Turner
Just a random thought.. Recently, Jakarta taglibs (http://jakarta.apache.org/taglibs/) and Cocoon have been looking very similar in terms of functionality. Have a look at the list of taglibs. SQL, XSL, XTags, JNDI.. at one time, Cocoon was the only game in town for some of these. No longer.

Re: [c1] java.lang.NoClassDefFoundError with custom class?

2001-12-17 Thread Jeff Turner
From xdocs/todo.xml: action context=code bugid=11 Add standard WEB-INF/classes and WEB-INF/lib to XSP classpath. /action So I don't think it's possible with Cocoon 1. It looks like XSP pages have their own classloader (org.apache.cocoon.processor.xsp.language.java.XSPClassLoader), and

Re: Help needed with debugging XSP

2001-12-14 Thread Jeff Turner
On Fri, Dec 14, 2001 at 05:05:44PM +0900, Adam A R wrote: Hello all, I am using Cocoon 1.8 with iAWS server. I have the following flow in my application. XML - XSP - XSLT XML file processed by XSP(actually an XSL) to add dynamic content. The output of which is transformed by a

Re: SVG, JPEG, PNG and Xvfb

2001-10-19 Thread Jeff Turner
On Fri, Oct 19, 2001 at 04:59:15PM +1000, Phil Blake wrote: Hi all, I'm making an attempt to get SVG's working. My understanding is that svg2jpeg and svg2png currently has a dependency on Xvfb. I'm running MacOS X so I installed Xfree86, including Xvfb and used the script submitted

Re: [C2] standalone example?

2001-10-04 Thread Jeff Turner
On Thu, Oct 04, 2001 at 05:04:29PM -1000, Russell Castagnaro wrote: Aloha cocoon-users, I'm trying to find an example of using C2 standalone. I actually want to use it in an EJB, but first things first. I've looked at the environment package, which seems to have the classes all set

Re: Cocoon2 -changes in web.xml

2001-10-03 Thread Jeff Turner
Tomcat 4 validates web.xml against a DTD, so yes, order matters. --Jeff On Wed, Oct 03, 2001 at 11:20:03AM -0700, Lakshmi Anantharaman wrote: Starting service Tomcat-Standalone Apache Tomcat/4.1-dev PARSE error at line 220 column 13 org.xml.sax.SAXParseException: The content of element type

Re: Newbie Question (Static HTML from Cocoon2)

2001-09-24 Thread Jeff Turner
For a real-world example of a Cocoon website being generated offline, have a look at the jakarta-avalon documentation system. All driven by Ant.. pretty cool :) wget is probably less hassle though. --Jeff On Mon, Sep 24, 2001 at 10:51:15AM +0200, Sebastian Mäder wrote: Hi there, my name is

Re: Tomcat 4.0 + Cocoon2 rc1 on RedHat 6.2

2001-09-24 Thread Jeff Turner
Other than the obvious try a different JDK advice, you might try looking carefully at what jars you have installed. Tomcat 4.0 comes with a lot of miscellaneous crud in common/lib. Eg, I found that Cocoon 1.8 would cause this sort of VM crash if I used an earlier version of xalan.jar than the

Re: cocoon accessible only from local machine

2001-09-20 Thread Jeff Turner
On Thu, Sep 20, 2001 at 06:58:53PM +0200, Aurelien wrote: Cocoon is installed on my linux workstation on top of JBoss-Tomcat and works fine there, that is: I can browse all the examples from the same workstation. But if I attempt to access it from my LAN, the request either times out or

X11 low-level errors (Re: Installation Problem Solved- C2b2 and Tomcat 4.0 Final)

2001-09-19 Thread Jeff Turner
On Wed, Sep 19, 2001 at 05:08:03PM -0400, Rajkumar, Joseph wrote: Hi Folks This did it and it all works beautifully. I took the stock Tomcat-4.0 binary distribution and Cocoon-2.0B2.tar.gz. The build 'cocoon' with the install option giving it the path to the tomcat webapps

Re: XSPs vs JSPs

2001-09-17 Thread Jeff Turner
On Mon, Sep 17, 2001 at 03:12:45PM +0800, [EMAIL PROTECTED] wrote: Hi, I can't seem to find much information on using JSPs with Cocoon - seems to me that this would be very useful since we already have a fair amount of JSPs, and it's an easier sell to management who is

Re: XSPs vs JSPs

2001-09-17 Thread Jeff Turner
On Mon, Sep 17, 2001 at 09:44:12PM -0700, Thomas Patterson wrote: I abhore both JSP and XSP and instead have relied solely on XML/XSLT and feel that I am far happier for it. The developers stick to creating XML and the GUI folks can work their magic with XSLT. Hell, I can even fairly easily

Re: java.lang.VerifyError

2001-09-13 Thread Jeff Turner
On Wed, Sep 12, 2001 at 11:25:26AM +0200, Jurgen Lust wrote: Hi, I installed cocoon on my Debian box this week and it works fine for xslt processing and for FO and DCP. However, when i try to load xsp page, I get the following error: java.lang.VerifyError: (class:

Re: Cocoon 1.8.2 - .htaccess?

2001-09-10 Thread Jeff Turner
On Mon, Sep 10, 2001 at 01:54:35PM -0400, Elisa Green wrote: My search in FAQs and alternative resources have turned up nothing on cocoon security settings with .htaccess. Cocoon has nothing to do with .htaccess. Cocoon runs as a servlet. Access to servlets is determined by the servlet

Re: Very beginner question

2001-07-31 Thread Jeff Turner
For a real-world example of how to use Cocoon to build a static site, have a look at Avalon's doc system. It's driven by Ant, handles DocBook + Stylebook, *very* flexible. Hats off to Berin for creating it. --Jeff On Tue, Jul 31, 2001 at 09:18:30PM -0400, Vadim Gritsenko wrote: It is possible

Re: C2/Tomcat 3.2.2: Include Cocoon-Content in JSP

2001-07-03 Thread Jeff Turner
On Tue, Jul 03, 2001 at 10:39:19PM +0200, Stefan Seifert wrote: I want to include the result of a cocoon transformation as part of another JSP Page as follows: ... jsp content ... % String strIncludeURL = ../cocoon/meeting_agenda.htm?MeetingID=1; % jsp:include page=%=strIncludeURL%