On Fri, 2007-12-07 at 23:09 -0500, Vadim Gritsenko wrote:
> On Dec 7, 2007, at 10:37 PM, Jörg Heinicke (JIRA) wrote:
>
> >
> > [
> > https://issues.apache.org/jira/browse/COCOON-1990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel
> >
> > #action_12549643 ]
> >
> > Jörg Heinicke commented on COCOON-1990:
> > ---------------------------------------
> >
> > Also I don't like the idea of checking for a particular protocol. In
> > theory somebody could have implemented its own protocol doing
> > something similar as cocoon://.
>
> You do not even need a theory :) Simply edit cocoon.xconf, and use any
> protocol you like.
>
> <component-instance name="sitemap"
>
> class="org.apache.cocoon.components.source.impl.SitemapSourceFactory"/>
>
>
> Vadim
Unfortunately, that is only a theoretical possibility. There are
already 11 places where startsWith("cocoon:") is hardwired in the code.
Cheers, Alfred.