r22829 - in /branches/upstream/libxml-sax-expat-perl/current: Changes Expat.pm MANIFEST META.yml Makefile.PL eg/ eg/counter.pl t/98podsyn.t t/99podcov.t
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Sun Jul 6 00:56:37 UTC 2008
Author: gregoa
Date: Sun Jul 6 00:56:36 2008
New Revision: 22829
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=22829
Log:
[svn-upgrade] Integrating new upstream version, libxml-sax-expat-perl (0.40)
Added:
branches/upstream/libxml-sax-expat-perl/current/eg/
branches/upstream/libxml-sax-expat-perl/current/eg/counter.pl (with props)
branches/upstream/libxml-sax-expat-perl/current/t/98podsyn.t (with props)
branches/upstream/libxml-sax-expat-perl/current/t/99podcov.t (with props)
Modified:
branches/upstream/libxml-sax-expat-perl/current/Changes
branches/upstream/libxml-sax-expat-perl/current/Expat.pm
branches/upstream/libxml-sax-expat-perl/current/MANIFEST
branches/upstream/libxml-sax-expat-perl/current/META.yml
branches/upstream/libxml-sax-expat-perl/current/Makefile.PL
Modified: branches/upstream/libxml-sax-expat-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libxml-sax-expat-perl/current/Changes?rev=22829&op=diff
==============================================================================
--- branches/upstream/libxml-sax-expat-perl/current/Changes (original)
+++ branches/upstream/libxml-sax-expat-perl/current/Changes Sun Jul 6 00:56:36 2008
@@ -1,5 +1,8 @@
Revision history for XML::SAX::Expat:
+
+0.40 2008-06-30 08:00
+ - small Kwalitee improvements
0.39 2007-06-10 08:00
- check SKIP_SAX_INSTALL environment variable; thanks to Klaus Heinz for
Modified: branches/upstream/libxml-sax-expat-perl/current/Expat.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libxml-sax-expat-perl/current/Expat.pm?rev=22829&op=diff
==============================================================================
--- branches/upstream/libxml-sax-expat-perl/current/Expat.pm (original)
+++ branches/upstream/libxml-sax-expat-perl/current/Expat.pm Sun Jul 6 00:56:36 2008
@@ -11,7 +11,7 @@
use XML::Parser qw();
use vars qw($VERSION);
-$VERSION = '0.39';
+$VERSION = '0.40';
#,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,#
@@ -543,6 +543,23 @@
The methods defined in this class correspond to those listed in the
PerlSAX2 specification, available above.
+=head1 FEATURES AND CAVEATS
+
+=over 2
+
+=item supported_features
+
+Returns:
+
+ * http://xml.org/sax/features/external-general-entities
+ * http://xml.org/sax/features/external-parameter-entities
+ * [ Features supported by ancestors ]
+
+Turning one of the first two on also turns the other on (this maps
+to the XML::Parser ParseParamEnts option). This may be fixed in the
+future, so don't rely on this behaviour.
+
+=back
=head1 MISSING PARTS
@@ -558,13 +575,6 @@
Ways of signalling them are welcome. In addition to those,
set_document_locator is not yet called.
-=head1 CAVEATS
-
- - this module supports the features http://xml.org/sax/features/external-general-entities
- and http://xml.org/sax/features/external-parameter-entities but turning one on also turns
- the other on (this maps to the XML::Parser ParseParamEnts option). This may be fixed in
- the future, so don't rely on this behaviour.
-
=head1 TODO
- reuse Ken's tests and add more
@@ -575,9 +585,9 @@
suggestions and feedback from perl-xml. Currently maintained by Bjoern
Hoehrmann L<http://bjoern.hoehrmann.de/>.
-=head1 COPYRIGHT
-
-Copyright (c) 2001-2007 Robin Berjon. All rights reserved. This program is
+=head1 COPYRIGHT AND LICENSE
+
+Copyright (c) 2001-2008 Robin Berjon. All rights reserved. This program is
free software; you can redistribute it and/or modify it under the same
terms as Perl itself.
Modified: branches/upstream/libxml-sax-expat-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libxml-sax-expat-perl/current/MANIFEST?rev=22829&op=diff
==============================================================================
--- branches/upstream/libxml-sax-expat-perl/current/MANIFEST (original)
+++ branches/upstream/libxml-sax-expat-perl/current/MANIFEST Sun Jul 6 00:56:36 2008
@@ -1,6 +1,9 @@
-Changes
-Expat.pm
-Makefile.PL
-MANIFEST
-t/00basic.t
+Changes
+Expat.pm
+Makefile.PL
+MANIFEST
+t/00basic.t
+t/98podsyn.t
+t/99podcov.t
+eg/counter.pl
META.yml Module meta-data (added by MakeMaker)
Modified: branches/upstream/libxml-sax-expat-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libxml-sax-expat-perl/current/META.yml?rev=22829&op=diff
==============================================================================
--- branches/upstream/libxml-sax-expat-perl/current/META.yml (original)
+++ branches/upstream/libxml-sax-expat-perl/current/META.yml Sun Jul 6 00:56:36 2008
@@ -1,14 +1,17 @@
-# http://module-build.sourceforge.net/META-spec.html
-#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
-name: XML-SAX-Expat
-version: 0.39
-version_from: Expat.pm
-installdirs: site
-requires:
+--- #YAML:1.0
+name: XML-SAX-Expat
+version: 0.40
+abstract: SAX Driver for Expat
+license: perl
+author:
+ - Robin Berjon
+generated_by: ExtUtils::MakeMaker version 6.44
+distribution_type: module
+requires:
XML::NamespaceSupport: 0.03
XML::Parser: 2.27
XML::SAX: 0.03
XML::SAX::Base: 1.00
-
-distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.30
+meta-spec:
+ url: http://module-build.sourceforge.net/META-spec-v1.3.html
+ version: 1.3
Modified: branches/upstream/libxml-sax-expat-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libxml-sax-expat-perl/current/Makefile.PL?rev=22829&op=diff
==============================================================================
--- branches/upstream/libxml-sax-expat-perl/current/Makefile.PL (original)
+++ branches/upstream/libxml-sax-expat-perl/current/Makefile.PL Sun Jul 6 00:56:36 2008
@@ -12,6 +12,13 @@
XML::NamespaceSupport => '0.03',
XML::SAX => '0.03',
},
+
+ LICENSE => 'perl',
+ 'dist' => {
+ PREOP => 'chmod 600 Makefile.PL',
+ TARFLAGS => '--group=cpan --owner=bjoern -cvf',
+ },
+
);
Added: branches/upstream/libxml-sax-expat-perl/current/eg/counter.pl
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libxml-sax-expat-perl/current/eg/counter.pl?rev=22829&op=file
==============================================================================
--- branches/upstream/libxml-sax-expat-perl/current/eg/counter.pl (added)
+++ branches/upstream/libxml-sax-expat-perl/current/eg/counter.pl Sun Jul 6 00:56:36 2008
@@ -1,0 +1,18 @@
+#!/usr/bin/perl -w
+use strict;
+use warnings;
+use XML::SAX::Expat;
+
+sub Counter::new { bless { count => 0 }, shift }
+sub Counter::start_element { shift->{count}++ }
+
+if (@ARGV != 1) {
+ print "Usage: $0 example.xml\n";
+ exit;
+}
+
+my $counter = Counter->new;
+my $parser = XML::SAX::Expat->new(Handler => $counter);
+$parser->parse_file($ARGV[0]);
+
+printf "%s has %d elements\n", $ARGV[0], $counter->{count};
Propchange: branches/upstream/libxml-sax-expat-perl/current/eg/counter.pl
------------------------------------------------------------------------------
svn:executable = *
Added: branches/upstream/libxml-sax-expat-perl/current/t/98podsyn.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libxml-sax-expat-perl/current/t/98podsyn.t?rev=22829&op=file
==============================================================================
--- branches/upstream/libxml-sax-expat-perl/current/t/98podsyn.t (added)
+++ branches/upstream/libxml-sax-expat-perl/current/t/98podsyn.t Sun Jul 6 00:56:36 2008
@@ -1,0 +1,10 @@
+# 99pod.t -- Minimally check POD for problems.
+#
+# $Id$
+
+use strict;
+use warnings;
+use Test::More;
+eval "use Test::Pod 1.00";
+plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
+all_pod_files_ok();
Propchange: branches/upstream/libxml-sax-expat-perl/current/t/98podsyn.t
------------------------------------------------------------------------------
svn:executable = *
Added: branches/upstream/libxml-sax-expat-perl/current/t/99podcov.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libxml-sax-expat-perl/current/t/99podcov.t?rev=22829&op=file
==============================================================================
--- branches/upstream/libxml-sax-expat-perl/current/t/99podcov.t (added)
+++ branches/upstream/libxml-sax-expat-perl/current/t/99podcov.t Sun Jul 6 00:56:36 2008
@@ -1,0 +1,13 @@
+# 99pod.t -- Minimally check POD for code coverage.
+#
+# $Id$
+
+use strict;
+use warnings;
+use Test::More;
+
+eval "use Test::Pod::Coverage";
+plan skip_all => "Test::Pod::Coverage required for testing pod coverage" if $@;
+plan tests => 1;
+pod_coverage_ok('XML::SAX::Expat');
+
Propchange: branches/upstream/libxml-sax-expat-perl/current/t/99podcov.t
------------------------------------------------------------------------------
svn:executable = *
More information about the Pkg-perl-cvs-commits
mailing list