On Wed, 2003-11-26 at 14:04, Sebastian Klamar wrote:
> Bruno,
> 
> thank you for your reply.
> 
> * Bruno Dumon [2003-11-25 19:28 +0100] wrote:
> > If you're writing a custom transformer, you can use the SourceResolver
> > to resolve a cocoon: URL, which is similar to the processPipelineTo in
> > flowscript.
> 
> I've tried this.  But for cocoon:/ and cocoon:// prefixed URLs (like
> �cocoon://samples/�) I get no response.  The response has always mime
> type text/xml and content length -1.

Can you do source.getInputStream() and read data from the inputstream?

The content length being -1 is normal behaviour. The javadoc for the
Source interface (part of Avalon Excalibur) states that -1 is returned
when the content length is unknown.

The fact that the mime type is always text/xml might be a bug, don't
know.

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED]                          [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to