Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 48340 invoked from network); 13 Oct 2008 06:57:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Oct 2008 06:57:40 -0000 Received: (qmail 46412 invoked by uid 500); 13 Oct 2008 06:57:39 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 46332 invoked by uid 500); 13 Oct 2008 06:57:39 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 46321 invoked by uid 99); 13 Oct 2008 06:57:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Oct 2008 23:57:39 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [213.133.51.241] (HELO mail.hippo.nl) (213.133.51.241) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Oct 2008 06:56:29 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Subject: RE: Problem with Cocoon Streaming of an internal pipeline is not possible with a reader Date: Mon, 13 Oct 2008 08:57:03 +0200 Message-ID: In-Reply-To: <19895102.post@talk.nabble.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Problem with Cocoon Streaming of an internal pipeline is not possible with a reader Thread-Index: Ackp7qogMrgmaQPOS5S6puyL1wfmrADEfSYw References: <19895102.post@talk.nabble.com> From: "Jasha Joachimsthal" To: X-Virus-Checked: Checked by ClamAV on apache.org =20 > -----Original Message----- > From: Sandy_Java [mailto:deepu.balasa@gmail.com]=20 > Sent: donderdag 9 oktober 2008 11:08 > To: dev@cocoon.apache.org > Subject: Problem with Cocoon Streaming of an internal=20 > pipeline is not possible with a reader >=20 >=20 > Hello Friends, >=20 > I am new to this Forum. I was searching for some help to work=20 > with Apache Cocoon frame work. Amazingly, I found this forum.=20 > Please find the description below. >=20 > I have an error working with Cocoon frame work. > I am trying to get a .HTM file from the Database and trying=20 > to display it on the browser. In my sitemap.xmp, I am using=20 > to do achieve this as follows.=20 >=20 > src=3D"blob:/DataSource/Table_Name/Column_name[PK=3D'pk']"/> >=20 > File types '.gif', '.txt' and '.html'are displaying properly.=20 > But a '.htm' > file is not displayed and shows the following error. >=20 > "org.apache.cocoon.ProcessingException: Streaming of an=20 > internal pipeline is not possible with a reader" >=20 > I am totally new to Cocoon framework and also XSLT. >=20 > Any help would be greatly appreciable. Please help me. >=20 > Thanks in Advance. >=20 > Regards, > Sandeep. Hi Sandeep, This is more a question for the Cocoon user list. You can't use an internal pipeline with a reader because it doesn't generate a SAX events. You have to use a pipeline that uses a generator (0+ transformers) and a serializer if you want to use it as starting point for a different pipeline.=20 Jasha Joachimsthal=20 =20 j.joachimsthal@onehippo.com - jasha@apache.org =20 www.onehippo.com Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466=20 San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA 94952-3329 +1 (707) 773-4646