cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <>
Subject Re: Nesting/Aggregating generator...
Date Tue, 24 Aug 2004 21:00:39 GMT
On Tue, 24 Aug 2004, Pier Fumagalli wrote:

> On 24 Aug 2004, at 20:41, Giacomo Pati wrote:
>> On Tue, 24 Aug 2004, Pier Fumagalli wrote:
>>> A generator always knows its input (its a file) and can verify whether 
>>> it's valid, if it is, then the "<include src=...>" declaration in there

>>> will not be changed, so it can also verify whether its included files 
>>> are valid or not...
>> The CInclude is able to include Cocoon pipeline URIs (which will have a 
>> certain dynamic nature). How does the Generator know about their 
>> cachability?
> It uses the SourceResolver.
> If the resolved source eturns a SourceValidity, then it'll be added to the 
> ones to check, and so on and so forth, if it returns null, well, the output 
> of the generator is non-cachable (unfortunately).

Thanks for the hint, I've missed that one (MultiSourceValidity).

Giacomo Pati
Otego AG, Switzerland -
Orixo, the XML business alliance -

View raw message