It's a bug,
the content provider for the current URI is used to check
all dependencies, regardles if those depenedancies require
another provider to be fetched:

here's the thread from May:

  http://axkit.org/cgi-bin/ezmlm-cgi?3:sss:6561:200305:icaimdkjakdemadjpmim#b

The thread mentions Mike Chamberlain, was working on a fix,
and that Jason Johnston, filed a bug, and attatched a patch that fixed it
for him:

  http://rt.cpan.org/NoAuth/Bugs.html?Dist=AxKit

  (perhaps this one  http://rt.cpan.org/NoAuth/Bug.html?id=2277 )

I didn't ever try that patch, becaue my providers were all file based so
the mtime portion is the same.

--fess

On Fri, 4 Jul 2003, Alex Sergeyev wrote:

> Hello,
>
> I have my provider for external info (from database, etc...)
> and use it like
> <xsl:variable name='xxx' select='document("/provided/virtualname")'/>
>
> Documents under '/provided/' are physically not exsistent. Provider loads info from 
> database.
>
> It works correctly everywhere except one place:
> in AxKit.pm, in check_dependencies function:
>
> my $dep = Apache::AxKit::Provider->new($r, key => $dependency);
> line always returns me File provider.
>
> So, I can't return my modification time info to caching routines....
>
>
> How can I avoid this problem?
>
>
> Sincerely,
>
> Alex.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to