cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Pötz <reinhard_po...@gmx.net>
Subject RE: [SourceResolver] getLastModified() for cocoon:// sources always returns 0
Date Mon, 23 Jun 2003 10:04:38 GMT
> From: Carsten Ziegeler [mailto:cziegeler@s-und-n.de]
> 
> Reinhard Pötz wrote:
> >
> >
> > If I understand this correctly I get with
> >
> >     source.getValidity()
> >
> > the SourceValidity.
> Yes.
> 
> > But if I call e.g. cocoon://blablalba.xml this
> > method returns null. The default pipe is the caching pipe and I use 
> > it with
> >
> > <map:pipeline>
> > ...
> > </map:pipeline>
> >
> > If I resolve a resource using the file protocol a SourceValidity
> > object is returned.
> >
> > Do I have to change something to get a SourceValidity
> object returned
> > from a cocoon source?
> >
> No, this should work (and it worked some weeks ago :) )
> 
> So, if I understand you correctly, you're using the lastest
> 2.1-dev, use the SourceResolver to resolve 
> "cocoon://blablalba.xml", get a o.a.e.source.Source object 
> and when you call getValidity(), you get "null" as the result?

I used 2.1-dev-M2. I going to set up a test example using the latest CVS
snapshot and report if it works for me.

Reinhard 


Mime
View raw message