[2.1] http request fields & file generator

2010-03-17 Thread Reinhard Haller
Hi, I'm using a pipeline to get xml-content from a web source with the file generator. http://x.y/content.xml"; /> Unfortunately the Accept-field of the http-request sent by cocoon is not appropriate (no answer from the server). Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Is t

Re: Cocoon 2.2 resources outside of a Block

2008-06-03 Thread Reinhard Haller
Hi Grzegorz, Grzegorz Kossakowski schrieb: After seeing all these e-mails complaining about some non-existing problems of C2.2 I think it's right time to prepare "Top 10 misconceptions on Cocoon 2.2". Something to worth consideration... is it a misconception to understand "separation of conc

Re: [ANN] Apache Cocoon 2.2.0 Released

2008-05-21 Thread Reinhard Haller
Grzegorz Kossakowski schrieb: Reinhard, have you seen this document: http://cocoon.apache.org/2.2/1347_1_1.html I studied it a little bit this morning, only to find out the copy and paste thing isn't working very well for the cocoon documentation. Most of the documentation details for the comp

Re: [ANN] Apache Cocoon 2.2.0 Released

2008-05-20 Thread Reinhard Haller
Hi, Jeroen Reijn schrieb: Hi Derek, as far as I know (I have not used the cinclude transformer in more then a year) you will only have to change the way you feed parameters to the transformer from your xsl or xml. As i can remember the include transformer does not have a containing parameter

Re: [ANN] Apache Cocoon 2.2.0 Released

2008-05-20 Thread Reinhard Haller
Hi Kamal, Kamal Bhatt schrieb: I had a rant about this about a month back. Basically, Cocoon documentation is now a mess. I started with cocoon 2.0. If you remember the scope as explained in the "What is" documentation: Apache Cocoon is an XML publishing framework Cocoon 2.2 lacks nearly a

Re: [ANN] Apache Cocoon 2.2.0 Released

2008-05-19 Thread Reinhard Haller
a 1:1 mapping of core sitemap components between 2.1.x and 2.2? Thanks Reinhard Haller - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to obtain a xml from a xml file and a Xpath expression

2008-04-14 Thread Reinhard Haller
Hi Carlos, Carlos Tejo Alonso schrieb: Thanks for the suggestions. I wonder if there is one transformer where you indicate the file and the XPATH expression and gives you the new xml file. try it with a xpath generator (you can specify your file directly or via pattern matching), followed b

Re: [ANN] Apache Cocoon 2.1.11 Released

2008-01-12 Thread Reinhard Haller
Hi Carsten, Carsten Ziegeler schrieb: Apache Cocoon 2.1.11 Released - I expected 2.2 as the next version of cocoon. What about the 2.2 release? Reinhard - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: 2.1.10: charset & nekohtml

2007-11-24 Thread Reinhard Haller
Hi, Ignacio, [EMAIL PROTECTED] schrieb: From: Reinhard Haller [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 21, 2007 10:40 AM AFAIK to config neko you will need to pass a properties file: ( exceprt from default cocoon.xconf ) context://WEB-INF/neko.properties

Re: 2.1.10: charset & nekohtml

2007-11-22 Thread Reinhard Haller
Joerg Heinicke schrieb: On 22.11.2007 5:51 Uhr, Reinhard Haller wrote: ...The html-document doesn't contain any charset spec and neko has a charset problem (the charset of the http response is utf-8) I've had to use the input-encoding parameter for neko to work corr

Re: 2.1.10: charset & nekohtml

2007-11-22 Thread Reinhard Haller
Hi Bertrand, Bertrand Delacretaz schrieb: On Nov 21, 2007 10:39 AM, Reinhard Haller <[EMAIL PROTECTED]> wrote: ...The html-document doesn't contain any charset spec and neko has a charset problem (the charset of the http response is utf-8) I've had to use th

2.1.10: charset & nekohtml

2007-11-21 Thread Reinhard Haller
Hi, I've a problem with umlaut's in nekohtml with the following url: http://www.heise.de/security/news/meldung/99281/ The html-document doesn't contain any charset spec and neko has a charset problem (the charset of the http response is utf-8). My sitemap snippet: name="nekohtml" src

Re: Cocoon Productivity

2007-06-02 Thread Reinhard Haller
Reinhard Poetz schrieb: Reinhard Haller wrote: Reinhard Poetz schrieb: I have been working on http://cocoon.zones.apache.org/daisy/cdocs/g2/g1/1370.html. I hope that it helps. said first I have no knowlwedge of maven or cocoon2.2. Your tutorials for me are typical examples of the

Re: Cocoon Productivity

2007-06-01 Thread Reinhard Haller
Hi Derek, Derek Hohls schrieb: PS I think its a little unfair to Jetty to imply its not production agreed. My point about Jetty is the integration within the cocoon distribution. Since most people curently are working with an IDE (Eclipse ...), in a basic tutorial we need also a chapter

Re: Cocoon Productivity

2007-06-01 Thread Reinhard Haller
Reinhard Poetz schrieb: I have been working on http://cocoon.zones.apache.org/daisy/cdocs/g2/g1/1370.html. I hope that it helps. said first I have no knowlwedge of maven or cocoon2.2. Your tutorials for me are typical examples of the problems regarding the current cocoon documen

Re: Custom Cocoon 2.2 projects: Alternatives to Maven 2

2007-05-23 Thread Reinhard Haller
Hi, Carsten Ziegeler schrieb: Grzegorz Kossakowski wrote: To sum up, if you really want to put effort into it could it be assumed as only temporary solution that aims to make it easier to migrate? Hmm, no I don't think so :) Personally, I really love maven 2 and it works very well for a lot

Re: AW: Cocoon Productivity - porting to c2.2 or to another web framework?

2007-05-23 Thread Reinhard Haller
Hi, Grzegorz Kossakowski schrieb: In short: The more input I get about your current architectures the more output (as documentation) you can expect. Don't forget to eliminate all those silly pieces of the docs from cocoon 1.x on the website and wiki. In following those path's the frustration

100 errors on SVN checkout

2007-01-10 Thread Reinhard Haller
Hi, I tried to check out the BRANCH_2_1_X as described in the Wiki (LoadInEclipse) and got 100 errors, most of them like "The declared package does not match the expected package src.blocks.apples.java.org.apache.cocoon.components.flow.apples" "The import org.apache cannot be resolved" "Argu

source writing transformer exception

2006-06-09 Thread Reinhard Haller
Hi, I've set up a pipeline to sanitize a bunch of xml files. The following matcher reads an xml file and stores the changed file with the source writing transformer in the same place. Doing so, the pipeline stops with the exception:

Re: XHTML-DTD as grammar for the validation transformer

2006-06-08 Thread Reinhard Haller
>>> [EMAIL PROTECTED] 07.06.2006 19:00 >>> >What is the value to use for the xhtml-DTD (I tried the grammar >namespace and the >validator interface field name)? > >Should I prefer the xhmtl-schema for validation? xhtml schema is not the solution. Maybe the transformer itself has a problem:

XHTML-DTD as grammar for the validation transformer

2006-06-07 Thread Reinhard Haller
Hi, I tried to validate against the XHTML-DTD and got the following error from the transformer: org.apache.cocoon.components.validation.ValidatorException: Unsupported grammar language with the following sitemap: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"; > What is the value to

[2.1.9] validation transformer documentation

2006-06-01 Thread Reinhard Haller
Hi, all links to the documentation (from the validation blocks sample) on cocoon.zones.apache.org are broken. Is there a newer/changed documentation than the wiki one? Thanks Reinhard Haller - To unsubscribe, e-mail: [EMAIL

[2.1.9] sourcewriting transformer/serializer strange behaviour

2006-04-13 Thread Reinhard Haller
Hi, by upgrading from 2.1.7 to 2.1.9 I've found strange effects regarding serializing with the sourcewriting transformer. The relevant parts of the sitemap: ... utf-8 yes ... Using the above I receive the following mes

Antw: [2.1.9] cli logger exception

2006-04-13 Thread Reinhard Haller
Hello Martin, >>> [EMAIL PROTECTED] 13.04.2006 11:49 >>> >try to comment out >level="DEBUG" /> >in cli.xconf already done -- the exception disappears, but this was a known error in 2.1.8, why it's corrected and what is to do to get a working logging? Greetings Reinhard --

[2.1.9] cli logger exception

2006-04-13 Thread Reinhard Haller
Hi, cocoon cli stops with a exception when using logging as configured in cli.xconf What's wrong? Thanks Reinhard Haller N:\web\cocoon-2.1.9>cocoon cli -x cli.xconf cocoon.bat: using .\build\webapp as the webapp d

[2.1.8] JBoss 4.0.3 SP1 & Xalan/Xerces

2005-11-28 Thread Reinhard Haller
Hi, cocoon 2.1.8 aggregation samples (flexible content, parallel content, cinclude content, xinclude content) end with an 500 status running them on JBoss 4.0.3 SP1. It seems to be a conflict between the xalan/xerces version of cocoon and jboss. JBoss is running in isolation mode. Cocoon was inst

Re: [2.1.8] Jboss / Aggregation samples

2005-11-25 Thread Reinhard Haller
>>> [EMAIL PROTECTED] 24.11.2005 14:25 >>> >> >>> [EMAIL PROTECTED] 23.11.2005 14:25 >>> >> >Reinhard Haller wrote: >> >> I tried to install Cocoon-2.1.8 on JBoss 4.0.3 by copying >> >> the webapp as cocoon.war to the J

Re: [2.1.8] Jboss / Aggregation samples

2005-11-23 Thread Reinhard Haller
>>> [EMAIL PROTECTED] 23.11.2005 14:25 >>> >Reinhard Haller wrote: >> I tried to install Cocoon-2.1.8 on JBoss 4.0.3 by copying >> the webapp as cocoon.war to the JBoss deploy directory. >> >> It worked at the first glance. By trying out the sampl

[2.1.8] Jboss / Aggregation samples

2005-11-23 Thread Reinhard Haller
I tried to install Cocoon-2.1.8 on JBoss 4.0.3 by copying the webapp as cocoon.war to the JBoss deploy directory. It worked at the first glance. By trying out the samples to verify the installation I got errors from the aggregation samples (Flexible Content, Parallel Content, Cinclude Content Xin

Re: set request header fields

2005-09-21 Thread Reinhard Haller
thanks for the help, but as you imagined I'm using a mounted pipeline... Reinhard >>> [EMAIL PROTECTED] 21.09.2005 11:58 >>> Le 21 sept. 05, à 11:49, Christoph Hermann a écrit : > ...Have a look at the "set-header" action... Note that there seems to be a problem in 2.1.7 w.r.t. setting headers

set request header fields

2005-09-21 Thread Reinhard Haller
Hi, how to add the Pragma: no-cache for the submitted request to www.some.server/data.xml? http://www.some.server/data.xml"/> Thanks Reinhard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

cache expire

2005-09-08 Thread Reinhard Haller
Hi, I've tried to use the expire parameter to enhance the performance. The result is, that certain pages are never updated. My simplified sitemap (2.1.7) template2xml.xslt genera

directory generator depth 2 (sort + regexp)

2005-08-30 Thread Reinhard Haller
Hi, I want to collect a set of the newest news snippets out of a nested directory structure like maindir --+--subdir1--+--file1.xml | +--file2.xml +--subdir2-file3.xml +--subdir3--+--file4.xml +--file5.xml the pipeline match

checking validity for fragments

2005-08-18 Thread Reinhard Haller
Hi, the description tag in RSS feeds often contains valid (X)HTML fragments. Sometimes however it contains not well formed stuff and even dangerous parts as

requestURI -- documentation bug?

2005-08-08 Thread Reinhard Haller
Hi, I'm retrieving the current URI from a request to set the base in the HTML header in the response. The documentation for the request input module states for the requestURI: " Returns the part of this request's URL from the protocol name up to the query string in the first line of the HTTP r

cache policy

2005-08-06 Thread Reinhard Haller
Hi, I'm using a multistage pipeline to create webpages with cocoon 2.1.7. The longest pipeline involves news messages. The messages themselves are retrieved by a cron job every 4 hours and stored in local directories. To get them displayed I use the following pipeline:

Antw: Re: RequestURI in aggregation page

2005-08-04 Thread Reinhard Haller
>>> [EMAIL PROTECTED] 03.08.2005 22:36 >>> Mark Lundquist wrote: >So, the ideal thing would be a sitemap matcher like the following: > > > > > > > > A simple way might be:

Antw: SourceWriting Transformer

2005-07-13 Thread Reinhard Haller
>>> [EMAIL PROTECTED] 13.07.2005 02:21 >>> >I need to write an xml file to the client. I proved with SWT. It write >perfectly if I run it from a browser in the server If you want to write a file to the client, the suggested way to do this is by providing a URL and serving the file as download.

Antw: Re: xsltc and output escaping

2005-06-09 Thread Reinhard Haller
>>> [EMAIL PROTECTED] 08.06.2005 21:01 >>> >Reinhard Haller wrote: >> How do you test this outside of Cocoon? >> >> > > > >then add a view to your sitemap: > > > > > > > >then call your pipeline http://...

Re: xsltc and output escaping

2005-06-08 Thread Reinhard Haller
sl files were all developed and tested outside of Cocoon before using them in a pipeline (using XMLSpy). -- Reinhard Haller - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: xsltc and output escaping

2005-06-08 Thread Reinhard Haller
r the problems came with the increasing pipeline complexity. Outside of Cocoon I cannot test the effect of multiple cincludes, so how to proceed to track down the error? -- Reinhard Haller - To unsubscribe, e-mail: [EMAIL P

Antw: Re: xsltc and output escaping

2005-06-08 Thread Reinhard Haller
remember a wiki stating to use XALAN instead of XSLTC under certain conditions. Thanks Reinhard Haller - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

short time caching

2005-06-08 Thread Reinhard Haller
Hi, I'm reading the same html page 2 times to extract different values from the page. It seems the converted xhtml isn't cached as expected. Is there another way to get the **/*.xhtml cached? Greetings Reinhard Haller Calls from Cinclude: cocoon:/xx/yy/idzz.date?serv=http://www.thi

xsltc and output escaping

2005-06-08 Thread Reinhard Haller
alan all works, but a lot slower. What's wrong? Greetings Reinhard Haller - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Antw: Re: NEKOhtml Generator features & properties

2005-06-03 Thread Reinhard Haller
>>> [EMAIL PROTECTED] 02.06.2005 17:53 >>> > >Hmm. So I'm not clear now what isn't working? Just the one property that >you want to set that isn't working? But you can set other properties? I've tried out a few combinations of property settings. The error message starts always with the known pa

Antw: Re: NEKOhtml Generator features & properties

2005-06-02 Thread Reinhard Haller
>>> [EMAIL PROTECTED] 02.06.2005 10:18 >>> >My first question is as to where >the property file should be. Are you putting it into the same directory >as the sitemap? Yes, this is the right place (as specified in the sitemap) and the content is read from the file (I've changed the contents and

Antw: Re: Status JTidy

2005-06-02 Thread Reinhard Haller
[EMAIL PROTECTED] 02.06.2005 02:13 >>> >> Is there a newer version around? >> Is the project still alive? > >Yes. Check out the nightly builds (last updated January this year). A >number of improvements have been made since the 2001 release. At first I tried it with nekohtml which is able t

NEKOhtml Generator features & properties

2005-06-01 Thread Reinhard Haller
anyone know how to set properties and features for the nekohtml generator? Greetings Reinhard Haller - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Status JTidy

2005-05-31 Thread Reinhard Haller
+'?" >'); document.write('<img SRC="<a rel="nofollow" href="http://ad.de.doubleclick.net/ad/cowo.de/knowledge/it_security/bigsky;sz=160x800;ord=">http://ad.de.doubleclick.net

serializer output encoding

2005-05-25 Thread Reinhard Haller
to output. What's wrong? Thanks Reinhard Haller Cocoon-Version: 2.1.7 -- sitemap.xmap - http://apache.org/cocoon/sitemap/1.0";>