On 11.Jul.2002 -- 10:03 PM, Vadim Gritsenko wrote:
> > From: Eric Dalquist [mailto:[EMAIL PROTECTED]]
> >
> > I just tried using cocoon://nav_bar.xsp but it still didn't work.
> Looking in
> > the core.log I found the following message:
> >
> > DEBUG (2002-07-11) 13:19.09:225
> [core.url-factory](/cocoon/index.xsp)
> > Thread-6/URLFactoryImpl: Making URL from cocoon://nav_bar.xsp
> > DEBUG (2002-07-11) 13:19.09:225
> [core.url-factory](/cocoon/index.xsp)
> > Thread-6/URLFactoryImpl: Making URL - MalformedURLException in getURL:
> > java.net.MalformedURLException: unknown protocol: cocoon
> > at java.net.URL.<init>(URL.java:586)
> > at java.net.URL.<init>(URL.java:476)
> > at java.net.URL.<init>(URL.java:425)
> > at
> >
> org.apache.cocoon.components.url.URLFactoryImpl.getURL(URLFactoryImpl.ja
> va:1
> > 18)
> > at org.apache.cocoon.www.logic.site_format_xsp.generate(C:\Program
> > Files\Apache Group\Tomcat
>
> Hmmm... Looks like util logicsheet's code is quite outdated... Would you
> mind patching util logicsheet (util.xsl)? It should use source resolver
> to do the work.
There's a util:include-source tag in util.xsl (2.1) that doesn't use
URLFactory. Maybe that one does it? So, should we have include-uri and
include-source be the same then?
Chris.
--
C h r i s t i a n H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>