cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <tcu...@dff.st>
Subject validity information
Date Mon, 29 Apr 2002 08:59:05 GMT
Let's assume we have the following pipeline:


    FileGenerator src="my.xml" ---> TimeStampCacheValidity("my.xml")
         |
    xxxTransformer
         |
    TextSerializer

In the setup of xxxTransformer I'd like to get the information if the
file "my.xml" has changed or not.
I am looking for a sollution that also works for e.g. this pipeline:


    TimeStampCacheValidity("my1.xml")    TimeStampCacheValidity("my2.xml")
                 ^                                   ^
                 |                                   |
    FileGenerator src="my1.xml"          FileGenerator src="my2.xml"
                      \                     /
                       \                   /
                        \                 /
                         \               /
                          \             /
                           \           /
                            \         /
                         ContentAggregator --> AggregatedCacheValidity(...)
                                |
                          xxxTransformer
                                |
                         TextSerializer


Specifing the dependencies inside as sitemap parameter by hand sucks...
..although it is a possible sollution ;)

When the transformer could get the Validities of the previous pipeline
components (or at least the last one) this should be sufficient I guess.

Carsten, or others... any idea how to obtain this information?
...I am not sure if this possible at all...

Thanks
--
Torsten


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message