cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geert Josten <>
Subject Why is streaming of an internal pipeline not possible?
Date Wed, 08 Jun 2005 18:30:37 GMT

Having just passed the discussion on whether or not to ignore the serializer when caching
internal pipe, the following error message popped into my mind:

	"Streaming of an internal pipeline is not possible with a reader."

Which is raised by the AbstractProcessingPipeline when the process function is called when
a reader 
is specified.

It prevents to do things like generating a PDF with one pipe and accessing it with a reading
going through the HTTP stack. It also occured (in earlier versions) when using the StreamGenerator

inside an internal pipe.

I have disabled the test that throws the error on occasion, just as a test but with success.
So why 
is it there and is it valid or might it need some more refinement?

Thanks for any comment,

View raw message