Date: Sunday December 30, 2001 @ 16:09
Author: matt
Update of /home/cvs/AxKit/lib/Apache/AxKit/Language
In directory ted:/home/matt/Perl/AxKit/lib/Apache/AxKit/Language
Modified Files:
LibXSLT.pm
Log Message:
Fix for relative filenames with document() (tested)
Index: LibXSLT.pm
===================================================================
RCS file: /home/cvs/AxKit/lib/Apache/AxKit/Language/LibXSLT.pm,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- LibXSLT.pm 2001/12/29 16:03:38 1.24
+++ LibXSLT.pm 2001/12/30 16:09:41 1.25
@@ -1,4 +1,4 @@
-# $Id: LibXSLT.pm,v 1.24 2001/12/29 16:03:38 matt Exp $
+# $Id: LibXSLT.pm,v 1.25 2001/12/30 16:09:41 matt Exp $
package Apache::AxKit::Language::LibXSLT;
@@ -36,7 +36,6 @@
my ($xmlstring, $xml_doc);
- Apache->request($style->apache_request); # XXX mb
AxKit::Debug(7, "[LibXSLT] getting the XML");
if (my $dom = $r->pnotes('dom_tree')) {
@@ -71,8 +70,6 @@
AxKit::Debug(7, "[LibXSLT] parsing stylesheet");
- $r->pnotes(current_request => $style);
-
my $stylesheet;
my $cache = $style_cache{$style->key()};
if (!$style->has_changed($cache->{mtime})) {
@@ -129,7 +126,6 @@
$stylesheet->output_fh($results, $r) if $last_in_chain;
$r->pnotes('dom_tree', $results);
- $r->pnotes('current_request' => undef);
# warn "LibXSLT returned $output \n";
# print $stylesheet->output_string($results);
@@ -159,7 +155,6 @@
my $provider = Apache::AxKit::Provider->new(
AxKit::Apache->request(),
uri => $uri,
-# rel => AxKit::Apache->request()->pnotes("current_request"),
);
add_depends($provider->key());
my $str = $provider->get_strref;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]