> -----Original Message----- > From: Sandy_Java [mailto:[EMAIL PROTECTED] > Sent: donderdag 9 oktober 2008 11:08 > To: [email protected] > Subject: Problem with Cocoon Streaming of an internal > pipeline is not possible with a reader > > > Hello Friends, > > I am new to this Forum. I was searching for some help to work > with Apache Cocoon frame work. Amazingly, I found this forum. > Please find the description below. > > I have an error working with Cocoon frame work. > I am trying to get a .HTM file from the Database and trying > to display it on the browser. In my sitemap.xmp, I am using > <map:read> to do achieve this as follows. > > <map:read mime-type="file_type" > src="blob:/DataSource/Table_Name/Column_name[PK='pk']"/> > > File types '.gif', '.txt' and '.html'are displaying properly. > But a '.htm' > file is not displayed and shows the following error. > > "org.apache.cocoon.ProcessingException: Streaming of an > internal pipeline is not possible with a reader" > > I am totally new to Cocoon framework and also XSLT. > > Any help would be greatly appreciable. Please help me. > > Thanks in Advance. > > 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. Jasha Joachimsthal [EMAIL PROTECTED] - [EMAIL PROTECTED] www.onehippo.com Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466 San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA 94952-3329 +1 (707) 773-4646
