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?

Carsten

Reply via email to