On Tue, 29 Jan 2002, (ASSAD Arnaud) via RT wrote:
>
>
> This message about XML-Filter-Cache was sent to you by [EMAIL PROTECTED] via
>rt.cpan.org
>
> <URL: https://rt.cpan.org/Ticket/Display.html?id=217 >
>
> This distribution has been tested as part of the cpan-testers
> effort to test as many new uploads to CPAN as possible. See
> http://testers.cpan.org/
>
> Please cc any replies to [EMAIL PROTECTED] to keep other
> test volunteers informed and to prevent any duplicate effort.
OK, I think I see the bug is in the set_document_locator stuff. Can you
try the following patch?
Index: lib/XML/Filter/Cache.pm
===================================================================
RCS file: /home/cvs/XML-Filter-Cache/lib/XML/Filter/Cache.pm,v
retrieving revision 1.2
diff -u -r1.2 Cache.pm
--- lib/XML/Filter/Cache.pm 2002/01/28 15:17:27 1.2
+++ lib/XML/Filter/Cache.pm 2002/01/29 13:14:53
@@ -114,7 +114,7 @@
local $self->{Key} = $self->{Key} || $self->{_locator}{SystemId} ||
die "No cache Key supplied";
$self->open("w");
if (my $locator = delete $self->{_locator}) {
- $self->record(set_document_locator => $locator);
+ $self->record(set_document_locator => { %$locator });
}
$self->record(start_document => $doc);
$self->SUPER::start_document($doc);
--
<!-- Matt -->
<:->Get a smart net</:->