matts 2003/01/04 10:11:08
Modified: lib AxKit.pm
lib/Apache/AxKit/Provider File.pm
Log:
Removed DOCTYPE line from AxhandleDirs output - otherwise XPathScript tries
to load the DTD.
Revision Changes Path
1.32 +5 -2 xml-axkit/lib/AxKit.pm
Index: AxKit.pm
===================================================================
RCS file: /home/cvs/xml-axkit/lib/AxKit.pm,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- AxKit.pm 17 Oct 2002 06:43:20 -0000 1.31
+++ AxKit.pm 4 Jan 2003 18:11:08 -0000 1.32
@@ -23,7 +23,7 @@
Apache::AxKit::CharsetConv::raise_error(1);
BEGIN {
- $VERSION = "1.6";
+ $VERSION = "1.6_01";
if ($ENV{MOD_PERL}) {
$AxKit::ServerString = "AxKit/$VERSION";
@AxKit::ISA = qw(DynaLoader);
@@ -1309,6 +1309,9 @@
discover that the format is straightforward and easy to understand.
AxHandleDirs On
+
+A DTD for the output of AxHandleDirs is at
+L<http://axkit.org/dtd/axhandledirs.dtd>
=head2 AxStyle
1.12 +1 -2 xml-axkit/lib/Apache/AxKit/Provider/File.pm
Index: File.pm
===================================================================
RCS file: /home/cvs/xml-axkit/lib/Apache/AxKit/Provider/File.pm,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- File.pm 4 Jan 2003 15:25:34 -0000 1.11
+++ File.pm 4 Jan 2003 18:11:08 -0000 1.12
@@ -122,7 +122,6 @@
my $dir = AxKit::FromUTF8($self->{file});
if (opendir(DIR, $dir)) {
my $output = '<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE filelist PUBLIC "-//AXKIT/FileList XML V1.0//EN"
"file:///dev/null">
<filelist xmlns="http://axkit.org/2002/filelist">
';
while(my $line = readdir(DIR)) {