Vadim Gritsenko wrote:
> > David Crossley
> > 
> > This sitemap snippet was working until very recently ...
> > <map:match pattern="zal/summary.html">
> >  <map:generate src="/var/www/html/zal/summary/summary-current.xml"/>
> >  <map:transform src="/var/www/html/zal/summary-html.xsl"/>
> >  <map:serialize type="html"/>
> > </map:match>
> > 
> > However with the current CVS HEAD it now fails,
> > because it now tries to find the documents below
> > the webapps/cocoon/ ...
> 
> Does it work with:
> 
> <map:generate
> src="file://var/www/html/zal/summary/summary-current.xml"/>?
> 
> Vadim

Yes, it does Vadim - many thanks. However, what does this
mean for Cocoon. Was i just luckily getting away with it before
because Cocoon was interpreting the OS-specific path? Perhaps
i should have always been using file:/ as a best-practice.

Anyway, the change should be documented somehow so
that other users do not collapse when they upgrade. Any clues
as to where add that note?
--David

> > ------
> > Original exception : java.io.FileNotFoundException:
> > /usr/local/jakarta/jakarta-tomcat-
> > 4.0.1/webapps/cocoon/var/www/html/zal/summary-html.xsl (No such file
> or
> > directory)
> > at java.io.FileInputStream.open(Native Method)
> > at java.io.FileInputStream.<init>(FileInputStream.java:70)
> > at
> >
> org.apache.excalibur.source.impl.URLSource.getInputStream(URLSource.java
> :196)
> > ------

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

Reply via email to