You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Leigh Dodds <ld...@ingenta.com> on 2002/08/20 09:59:13 UTC

Problems with Cocoon Protocol

Hi all,

I've documented a method for using XSLT metastylesheets 
on the CocoDocoWiki which allows for some pretty flexible 
templating options. See:

http://outerthought.net/wiki/Wiki.jsp?page=MetaStylesheets

However in the course of producing this I encountered a 
problem with the cocoon:/ protocol. 

The example described in the page references the second pipeline 
using http:// and this works fine. If I change that to using 
the cocoon:/ protocol (e.g. cocoon:/implementation-stylesheet.xsl) 
it immediately fails, giving a 'Resource Not Found' for 
process-description.xml.

AFAIK this is a perfectly legal thing to do with the cocoon protocol, 
so I can only assume its a bug? Someone else has reported that 
they've encountered a similar problem.

Just wanted to test the waters before filing a bug report.

Cheers,

L.

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


RE: Problems with Cocoon Protocol

Posted by Leigh Dodds <ld...@ingenta.com>.
Ignore me, I'm being thick. I'd added inadvertantly added a 
trailing slash to the URL.

D'oh.

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


RE: Problems with Cocoon Protocol

Posted by Leigh Dodds <ld...@ingenta.com>.
> Someone else has reported that 
> they've encountered a similar problem.
> 
> Don't remember such report. 

I should have been clearer. Someone reported this to me 
in private email.

> Whatever you are trying to do is legal and 
> documented in the samples:
> 
> http://localhost:8080/cocoon/sub/xsl-cocoon
> 
> (Just tried, works Ok)

Hmmm, well I've just freshly downloaded and installed Cocoon 
(2.0.3, running on Tomcat 4.0.1, JDK1.3, under Solaris) to 
double check, and that URL gives me:

----

Requested resource is not found

Error occured during request processing: No pipeline matched request: sub/xsl-cocoon/

The corresponding exception stacktrace:

org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: sub/xsl-cocoon/

This special error layout is specified in the sub sitemap.

----

I've encountered the same thing with Cocoon 2.0.3, Tomcat 4.0.4, 
JDK 1.4, Windows 2000.

Cheers,

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: Problems with Cocoon Protocol

Posted by Vadim Gritsenko <va...@verizon.net>.
Leigh Dodds wrote:

>Hi all,
>
>I've documented a method for using XSLT metastylesheets 
>on the CocoDocoWiki which allows for some pretty flexible 
>templating options. See:
>
>http://outerthought.net/wiki/Wiki.jsp?page=MetaStylesheets
>
>However in the course of producing this I encountered a 
>problem with the cocoon:/ protocol. 
>
>The example described in the page references the second pipeline 
>using http:// and this works fine. If I change that to using 
>the cocoon:/ protocol (e.g. cocoon:/implementation-stylesheet.xsl) 
>it immediately fails, giving a 'Resource Not Found' for 
>process-description.xml.
>
>AFAIK this is a perfectly legal thing to do with the cocoon protocol, 
>so I can only assume its a bug? Someone else has reported that 
>they've encountered a similar problem.
>

Don't remember such report. Whatever you are trying to do is legal and 
documented in the samples:

http://localhost:8080/cocoon/sub/xsl-cocoon

(Just tried, works Ok)

Vadim


>Just wanted to test the waters before filing a bug report.
>
>Cheers,
>
>L.
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org