On Tue, 21 Jan 2003, Dakkar wrote:
> Note the line
> get_axkit_uri returning (dom): '<?xml version="1.0"
>standalone="yes"?>Componentequalcos'altro'
> this is *wrong*. That is what you get if you apply b.xsl to the
> previous output, not to b.xml.
Gotcha. Yep, I can see where that bug is. Try this patch:
Index: lib/AxKit.pm
===================================================================
RCS file: /home/cvs/xml-axkit/lib/AxKit.pm,v
retrieving revision 1.33
diff -u -r1.33 AxKit.pm
--- lib/AxKit.pm 8 Jan 2003 17:09:55 -0000 1.33
+++ lib/AxKit.pm 21 Jan 2003 15:54:58 -0000
@@ -505,11 +505,13 @@
# results now in $r->pnotes('xml_string') - probably...
if (length($r->pnotes('xml_string'))) {
my $str = $r->pnotes('xml_string');
+ $r->pnotes('xml_string', undef);
AxKit::Debug(10, "get_axkit_uri returning (str): '$str'");
return $str;
}
elsif ($r->pnotes('dom_tree')) {
my $str = $r->pnotes('dom_tree')->toString;
+ $r->pnotes('dom_tree', undef);
AxKit::Debug(10, "get_axkit_uri returning (dom): '$str'");
return $str;
}
--
<!-- Matt -->
<:->get a SMart net</:->
Spam trap - do not mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]