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. For http:// prefixed URLs (like �http://localhost:8888/samples/�) resolveURI() works. So what I'm doing wrong? TIA -- Sebastian <mycodesnippet> // String uri = this.fragmentURIPrefix + fragmentID + this.fragmentURISuffix; String uri = "cocoon://samples/"; Source source = null; source = this.sourceResolver.resolveURI(uri); try { source = this.sourceResolver.resolveURI(uri); } catch (MalformedURLException e) { getLogger().error(e); } catch (IOException e) { getLogger().error(e); } </mycodesnippet> -- Dinge, die man nicht h�ren will, wenn man operiert wird: �Alle bleiben ruhig stehen. Ich hab' meine Kontaktlinsen verloren.� ************************************************************************ PGP Key: 0x1E727CE6 / 9085 48BD 8332 4BFC D80C A6CF D162 20BB 1E72 7CE6
pgp00000.pgp
Description: PGP signature
