Re: [2.1] cinclude using a pipeline as a generator source

2016-05-10 Thread Nico Verwer
On 7-5-2016 15:10, Christopher Schultz wrote: On 5/7/16 7:38 AM, warrell harries wrote: cocoon:// is understood as standard Awesome. I was hoping it would be something simple like that. You can use something like

Re: jars in Cocoon 2.1

2012-07-17 Thread Nico Verwer
On 17-7-2012 2:38, Huib Verweij wrote: Hi Peter, did you see this earlier discussion about using FOP 0.9x? http://comments.gmane.org/gmane.text.xml.cocoon.user/62898 It might work the same for v1.0. I have had some success using FOP 1.0, using the Cocoon 2.1.12 development branch.

Re: Cocoon Sparql Transformer ?

2008-03-03 Thread Nico Verwer
/Person17846 . * } * ]] * /sparql:query * /pre * * @author Nico Verwer * */ public class SparqlTransformer extends AbstractSAXTransformer { public static final String SPARQL_NAMESPACE_URI = http://apache.org/cocoon/sparql/1.0;; public static final String QUERY_ELEMENT = query; public

Re: cinclude a request to a sparql endpoint, character escaping

2007-09-25 Thread Nico Verwer
There was a small error in the Java code in my previous message. Line 113 should be: SourceUtil.toSAX(source, this.xmlConsumer, typeParameters, true); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: cinclude a request to a sparql endpoint, character escaping

2007-09-21 Thread Nico Verwer
, I'll let you know. Best regards, Nico Verwer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: cinclude a request to a sparql endpoint, character escaping

2007-09-21 Thread Nico Verwer
Nico Verwer wrote: I am looking at the same problem at the moment, and triied several things (like the IncludeTransformer). My next attempt will be to build a SPARQLTransformer. When it is ready, I'll let you know. I think the following code works. Please try it, and let me know if it works

RE: http headers

2007-08-27 Thread Nico Verwer
Franco Pace writes: How about setting the http response code from an action or transformer? The reason I ask is that I would like to use cocoon as a REST server framework. This is also possible, see

RE: accessing uri-prefix from within a sub-sitemap

2007-01-25 Thread Nico Verwer
Stephen Winnall wrote: I'd like to reuse a sub-sitemap for a number of different uri- prefixes. I can set this up in the main sitemap as follows: map:match pattern=^(company|consulting|translation|research| support)(.*)$ type=regexp map:mount check-reload=yes

RE: relative paths in flowscript [was: realpath: doesn't return realpath]

2007-01-18 Thread Nico Verwer
Steven D. Majewski wrote: Looking for an alternative way of solving my problem: What is the working directory for a flowscript ? If it's based on the directory of the script or the sitemap,

RE: Pipeline testing

2006-06-14 Thread Nico Verwer
still intend to work on the CoUnit unit-test framework when I have time. This might be of use to you. Best regards, Nico Verwer winmail.dat- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: how to save results to disk?

2006-03-28 Thread Nico Verwer
Paula Estrella wrote: Hi, I'm developing a small application with cocoon 2.1.8 under windows and I'd like to know if it's possible to store (server side) a dinamically generated xml document, i.e. I genrate a document result.xml with some input from users and I want to perform some action to

Re: {realpath:xxx} and mount-table

2005-11-27 Thread Nico Verwer
Jean-Claude Moissinac wrote: So, is there a simple way to know the directory of a sitemap? There is, see http://wiki.apache.org/cocoon/SitemapPathModule?action=show Regards, Nico Verwer - To unsubscribe, e-mail: [EMAIL

Re: Status-code from sitemap

2005-11-17 Thread Nico Verwer
Upayavira wrote: Felix Rthenbacher wrote: Hi Is it possible to send a status code only from the sitemap? For example to send 204 back after a put request? I believe serializers can do that. Look in the provided sitemaps within the map:handle-errors code for examples.