Sorry, Vadim did Cc his original reply to me.
I mistakenly replied to the copy, then Vadim to that ...

----------  Forwarded Message  ----------
From: "Vadim Gritsenko" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>

> David Crossley wrote:
> > Vadim Gritsenko wrote:
> > > David Crossley wrote:
> > >
> > > 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?

IIRC, something was changed (by Carsten maybe) right after donating
portal components - related to the leading slash. And current source
resolver from the Avalon (or its usage) seems to have same behaviour.

(I by myself have not used resources outside of webapp context)


> Perhaps
> i should have always been using file:/ as a best-practice.

This should always work, and I agree that this is the 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?

First place which comes to mind - changelog :)

Vadim

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

Reply via email to