That, and Alexey's patch both applied. Thanks.
On 18-Sep-06, at 9:49 AM, Hansjoerg Pehofer wrote:
> Dahut!
>
> "Alexey A. Ukhov" <auk startext.de> writes:
> [...]
>>
Apache::AxKit::LibXMLCallbacks->input_callbacks() );
>> - local
$Apache::AxKit::LibXMLSupport::provider_cb =
>> + local
$Apache::AxKit::LibXMLProviders::provider_cb =
> ^^^^^^^^^
> That should be $Apache::AxKit::LibXMLCallbacks, I
suspect.
>
> I also had to insert a cleanup_callbacks() call into
> LibXMLCallbacks.pm
> to get rid of spurious global callbacks (set by other
apps), which
> come
> into effect in cases the axkit-set, local ones don't.
> (i.e. $uri=~/^(https?|ftp|file):/)
>
> Index: LibXMLCallbacks.pm
>
============================================================
=======
> --- LibXMLCallbacks.pm (revision 447364)
> +++ LibXMLCallbacks.pm (working copy)
>  -10,6 +10,7 
> sub input_callbacks {
> my $class = shift;
> my $icb = XML::LibXML::InputCallback->new();
> + $icb->cleanup_callbacks();
> $icb->register_callbacks( [ \&match_uri,
\&open_uri,
> \&read_uri,
\&close_uri ] );
> return $icb;
>
> Thanks,
> Hansjörg
>
> --
> IT Services University of Innsbruck
> CFB4 D6E7 33F4 34C0 18B9 6661 E355 4337 3F8B D9C2
> http
://purl.org/net/hansjoerg.pehofer/public_key
>
|