Hello community, here is the log from the commit of package perl-XML-XPath for openSUSE:Factory checked in at 2018-11-13 16:28:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-XML-XPath (Old) and /work/SRC/openSUSE:Factory/.perl-XML-XPath.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-XML-XPath" Tue Nov 13 16:28:38 2018 rev:36 rq:647333 version:1.44 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-XML-XPath/perl-XML-XPath.changes 2017-08-19 10:55:22.369295485 +0200 +++ /work/SRC/openSUSE:Factory/.perl-XML-XPath.new/perl-XML-XPath.changes 2018-11-13 16:28:43.426373836 +0100 @@ -1,0 +2,12 @@ +Thu Nov 8 07:08:40 UTC 2018 - Stephan Kulow <[email protected]> + +- updated to 1.44 + see /usr/share/doc/packages/perl-XML-XPath/Changes + + 1.44 2018-10-11 MANWAR + - Added new test for axis descendant. + + 1.43 2018-10-10 MANWAR + - Fix memory leak in XML::XPath::Parser (PR #6), Thanks @niner. + +------------------------------------------------------------------- Old: ---- XML-XPath-1.42.tar.gz New: ---- XML-XPath-1.44.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-XML-XPath.spec ++++++ --- /var/tmp/diff_new_pack.w5072a/_old 2018-11-13 16:28:43.930373042 +0100 +++ /var/tmp/diff_new_pack.w5072a/_new 2018-11-13 16:28:43.934373035 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-XML-XPath # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,18 +12,18 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: perl-XML-XPath -Version: 1.42 +Version: 1.44 Release: 0 %define cpan_name XML-XPath Summary: Parse and evaluate XPath statements License: Artistic-2.0 Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/XML-XPath/ +Url: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/M/MA/MANWAR/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch @@ -48,7 +48,7 @@ find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %check ++++++ XML-XPath-1.42.tar.gz -> XML-XPath-1.44.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.42/Changes new/XML-XPath-1.44/Changes --- old/XML-XPath-1.42/Changes 2017-07-30 10:32:51.000000000 +0200 +++ new/XML-XPath-1.44/Changes 2018-10-11 16:29:06.000000000 +0200 @@ -1,5 +1,11 @@ Revision history for XML::XPath +1.44 2018-10-11 MANWAR + - Added new test for axis descendant. + +1.43 2018-10-10 MANWAR + - Fix memory leak in XML::XPath::Parser (PR #6), Thanks @niner. + 1.42 2017-07-30 MANWAR - Fixed GitHub issue #5 (abstract is undef in meta files). Thanks @y. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.42/META.json new/XML-XPath-1.44/META.json --- old/XML-XPath-1.42/META.json 2017-07-30 10:33:27.000000000 +0200 +++ new/XML-XPath-1.44/META.json 2018-10-11 16:30:32.000000000 +0200 @@ -42,95 +42,95 @@ "provides" : { "XML::XPath" : { "file" : "lib/XML/XPath.pm", - "version" : "1.42" + "version" : "1.44" }, "XML::XPath::Boolean" : { "file" : "lib/XML/XPath/Boolean.pm", - "version" : "1.42" + "version" : "1.44" }, "XML::XPath::Builder" : { "file" : "lib/XML/XPath/Builder.pm", - "version" : "1.42" + "version" : "1.44" }, "XML::XPath::Expr" : { "file" : "lib/XML/XPath/Expr.pm", - "version" : "1.42" + "version" : "1.44" }, "XML::XPath::Function" : { "file" : "lib/XML/XPath/Function.pm", - "version" : "1.42" + "version" : "1.44" }, "XML::XPath::Literal" : { "file" : "lib/XML/XPath/Literal.pm", - "version" : "1.42" + "version" : "1.44" }, "XML::XPath::LocationPath" : { "file" : "lib/XML/XPath/LocationPath.pm", - "version" : "1.42" + "version" : "1.44" }, "XML::XPath::Node" : { "file" : "lib/XML/XPath/Node.pm", - "version" : "1.42" + "version" : "1.44" }, "XML::XPath::Node::Attribute" : { "file" : "lib/XML/XPath/Node/Attribute.pm", - "version" : "1.42" + "version" : "1.44" }, "XML::XPath::Node::AttributeImpl" : { "file" : "lib/XML/XPath/Node/Attribute.pm", - "version" : "1.42" + "version" : "1.44" }, "XML::XPath::Node::Comment" : { "file" : "lib/XML/XPath/Node/Comment.pm", - "version" : "1.42" + "version" : "1.44" }, "XML::XPath::Node::Element" : { "file" : "lib/XML/XPath/Node/Element.pm", - "version" : "1.42" + "version" : "1.44" }, "XML::XPath::Node::Namespace" : { "file" : "lib/XML/XPath/Node/Namespace.pm", - "version" : "1.42" + "version" : "1.44" }, "XML::XPath::Node::PI" : { "file" : "lib/XML/XPath/Node/PI.pm", - "version" : "1.42" + "version" : "1.44" }, "XML::XPath::Node::Text" : { "file" : "lib/XML/XPath/Node/Text.pm", - "version" : "1.42" + "version" : "1.44" }, "XML::XPath::NodeSet" : { "file" : "lib/XML/XPath/NodeSet.pm", - "version" : "1.42" + "version" : "1.44" }, "XML::XPath::Number" : { "file" : "lib/XML/XPath/Number.pm", - "version" : "1.42" + "version" : "1.44" }, "XML::XPath::Parser" : { "file" : "lib/XML/XPath/Parser.pm", - "version" : "1.42" + "version" : "1.44" }, "XML::XPath::PerlSAX" : { "file" : "lib/XML/XPath/PerlSAX.pm", - "version" : "1.42" + "version" : "1.44" }, "XML::XPath::Root" : { "file" : "lib/XML/XPath/Root.pm", - "version" : "1.42" + "version" : "1.44" }, "XML::XPath::Step" : { "file" : "lib/XML/XPath/Step.pm", - "version" : "1.42" + "version" : "1.44" }, "XML::XPath::Variable" : { "file" : "lib/XML/XPath/Variable.pm", - "version" : "1.42" + "version" : "1.44" }, "XML::XPath::XMLParser" : { "file" : "lib/XML/XPath/XMLParser.pm", - "version" : "1.42" + "version" : "1.44" } }, "release_status" : "stable", @@ -141,6 +141,6 @@ "web" : "https://github.com/manwar/XML-XPath" } }, - "version" : "1.42", + "version" : "1.44", "x_serialization_backend" : "JSON::PP version 2.27400" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.42/META.yml new/XML-XPath-1.44/META.yml --- old/XML-XPath-1.42/META.yml 2017-07-30 10:33:27.000000000 +0200 +++ new/XML-XPath-1.44/META.yml 2018-10-11 16:30:31.000000000 +0200 @@ -21,78 +21,78 @@ provides: XML::XPath: file: lib/XML/XPath.pm - version: '1.42' + version: '1.44' XML::XPath::Boolean: file: lib/XML/XPath/Boolean.pm - version: '1.42' + version: '1.44' XML::XPath::Builder: file: lib/XML/XPath/Builder.pm - version: '1.42' + version: '1.44' XML::XPath::Expr: file: lib/XML/XPath/Expr.pm - version: '1.42' + version: '1.44' XML::XPath::Function: file: lib/XML/XPath/Function.pm - version: '1.42' + version: '1.44' XML::XPath::Literal: file: lib/XML/XPath/Literal.pm - version: '1.42' + version: '1.44' XML::XPath::LocationPath: file: lib/XML/XPath/LocationPath.pm - version: '1.42' + version: '1.44' XML::XPath::Node: file: lib/XML/XPath/Node.pm - version: '1.42' + version: '1.44' XML::XPath::Node::Attribute: file: lib/XML/XPath/Node/Attribute.pm - version: '1.42' + version: '1.44' XML::XPath::Node::AttributeImpl: file: lib/XML/XPath/Node/Attribute.pm - version: '1.42' + version: '1.44' XML::XPath::Node::Comment: file: lib/XML/XPath/Node/Comment.pm - version: '1.42' + version: '1.44' XML::XPath::Node::Element: file: lib/XML/XPath/Node/Element.pm - version: '1.42' + version: '1.44' XML::XPath::Node::Namespace: file: lib/XML/XPath/Node/Namespace.pm - version: '1.42' + version: '1.44' XML::XPath::Node::PI: file: lib/XML/XPath/Node/PI.pm - version: '1.42' + version: '1.44' XML::XPath::Node::Text: file: lib/XML/XPath/Node/Text.pm - version: '1.42' + version: '1.44' XML::XPath::NodeSet: file: lib/XML/XPath/NodeSet.pm - version: '1.42' + version: '1.44' XML::XPath::Number: file: lib/XML/XPath/Number.pm - version: '1.42' + version: '1.44' XML::XPath::Parser: file: lib/XML/XPath/Parser.pm - version: '1.42' + version: '1.44' XML::XPath::PerlSAX: file: lib/XML/XPath/PerlSAX.pm - version: '1.42' + version: '1.44' XML::XPath::Root: file: lib/XML/XPath/Root.pm - version: '1.42' + version: '1.44' XML::XPath::Step: file: lib/XML/XPath/Step.pm - version: '1.42' + version: '1.44' XML::XPath::Variable: file: lib/XML/XPath/Variable.pm - version: '1.42' + version: '1.44' XML::XPath::XMLParser: file: lib/XML/XPath/XMLParser.pm - version: '1.42' + version: '1.44' requires: Scalar::Util: '1.45' XML::Parser: '2.23' perl: '5.006' resources: repository: https://github.com/manwar/XML-XPath.git -version: '1.42' +version: '1.44' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.42/Makefile.PL new/XML-XPath-1.44/Makefile.PL --- old/XML-XPath-1.42/Makefile.PL 2017-07-28 18:25:50.000000000 +0200 +++ new/XML-XPath-1.44/Makefile.PL 2018-10-11 16:27:43.000000000 +0200 @@ -6,7 +6,7 @@ use ExtUtils::MakeMaker; WriteMakefile( - NAME => 'XML::XPath', + NAME => 'XML::XPath', AUTHOR => 'Matt Sergeant, AxKit.com Ltd', VERSION_FROM => 'lib/XML/XPath.pm', ABSTRACT_FROM => 'lib/XML/XPath.pm', @@ -21,7 +21,7 @@ 'Path::Tiny' => '0.076', }, PREREQ_PM => { - 'XML::Parser' => '2.23', + 'XML::Parser' => '2.23', 'Scalar::Util' => '1.45', }, dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, @@ -29,29 +29,29 @@ (eval { ExtUtils::MakeMaker->VERSION(6.46) } ? (META_MERGE => { 'meta-spec' => { version => 2 }, provides => { - 'XML::XPath' => { file => 'lib/XML/XPath.pm', version => '1.42' }, - 'XML::XPath::XMLParser' => { file => 'lib/XML/XPath/XMLParser.pm', version => '1.42' }, - 'XML::XPath::Parser' => { file => 'lib/XML/XPath/Parser.pm', version => '1.42' }, - 'XML::XPath::Expr' => { file => 'lib/XML/XPath/Expr.pm', version => '1.42' }, - 'XML::XPath::Function' => { file => 'lib/XML/XPath/Function.pm', version => '1.42' }, - 'XML::XPath::Literal' => { file => 'lib/XML/XPath/Literal.pm', version => '1.42' }, - 'XML::XPath::LocationPath' => { file => 'lib/XML/XPath/LocationPath.pm', version => '1.42' }, - 'XML::XPath::Number' => { file => 'lib/XML/XPath/Number.pm', version => '1.42' }, - 'XML::XPath::Node' => { file => 'lib/XML/XPath/Node.pm', version => '1.42' }, - 'XML::XPath::Node::Element' => { file => 'lib/XML/XPath/Node/Element.pm', version => '1.42' }, - 'XML::XPath::Node::Attribute' => { file => 'lib/XML/XPath/Node/Attribute.pm', version => '1.42' }, - 'XML::XPath::Node::AttributeImpl' => { file => 'lib/XML/XPath/Node/Attribute.pm', version => '1.42' }, - 'XML::XPath::Node::Text' => { file => 'lib/XML/XPath/Node/Text.pm', version => '1.42' }, - 'XML::XPath::Node::Namespace' => { file => 'lib/XML/XPath/Node/Namespace.pm', version => '1.42' }, - 'XML::XPath::Node::PI' => { file => 'lib/XML/XPath/Node/PI.pm', version => '1.42' }, - 'XML::XPath::Node::Comment' => { file => 'lib/XML/XPath/Node/Comment.pm', version => '1.42' }, - 'XML::XPath::Step' => { file => 'lib/XML/XPath/Step.pm', version => '1.42' }, - 'XML::XPath::Variable' => { file => 'lib/XML/XPath/Variable.pm', version => '1.42' }, - 'XML::XPath::NodeSet' => { file => 'lib/XML/XPath/NodeSet.pm', version => '1.42' }, - 'XML::XPath::Boolean' => { file => 'lib/XML/XPath/Boolean.pm', version => '1.42' }, - 'XML::XPath::Root' => { file => 'lib/XML/XPath/Root.pm', version => '1.42' }, - 'XML::XPath::PerlSAX' => { file => 'lib/XML/XPath/PerlSAX.pm', version => '1.42' }, - 'XML::XPath::Builder' => { file => 'lib/XML/XPath/Builder.pm', version => '1.42' }, + 'XML::XPath' => { file => 'lib/XML/XPath.pm', version => '1.44' }, + 'XML::XPath::XMLParser' => { file => 'lib/XML/XPath/XMLParser.pm', version => '1.44' }, + 'XML::XPath::Parser' => { file => 'lib/XML/XPath/Parser.pm', version => '1.44' }, + 'XML::XPath::Expr' => { file => 'lib/XML/XPath/Expr.pm', version => '1.44' }, + 'XML::XPath::Function' => { file => 'lib/XML/XPath/Function.pm', version => '1.44' }, + 'XML::XPath::Literal' => { file => 'lib/XML/XPath/Literal.pm', version => '1.44' }, + 'XML::XPath::LocationPath' => { file => 'lib/XML/XPath/LocationPath.pm', version => '1.44' }, + 'XML::XPath::Number' => { file => 'lib/XML/XPath/Number.pm', version => '1.44' }, + 'XML::XPath::Node' => { file => 'lib/XML/XPath/Node.pm', version => '1.44' }, + 'XML::XPath::Node::Element' => { file => 'lib/XML/XPath/Node/Element.pm', version => '1.44' }, + 'XML::XPath::Node::Attribute' => { file => 'lib/XML/XPath/Node/Attribute.pm', version => '1.44' }, + 'XML::XPath::Node::AttributeImpl' => { file => 'lib/XML/XPath/Node/Attribute.pm', version => '1.44' }, + 'XML::XPath::Node::Text' => { file => 'lib/XML/XPath/Node/Text.pm', version => '1.44' }, + 'XML::XPath::Node::Namespace' => { file => 'lib/XML/XPath/Node/Namespace.pm', version => '1.44' }, + 'XML::XPath::Node::PI' => { file => 'lib/XML/XPath/Node/PI.pm', version => '1.44' }, + 'XML::XPath::Node::Comment' => { file => 'lib/XML/XPath/Node/Comment.pm', version => '1.44' }, + 'XML::XPath::Step' => { file => 'lib/XML/XPath/Step.pm', version => '1.44' }, + 'XML::XPath::Variable' => { file => 'lib/XML/XPath/Variable.pm', version => '1.44' }, + 'XML::XPath::NodeSet' => { file => 'lib/XML/XPath/NodeSet.pm', version => '1.44' }, + 'XML::XPath::Boolean' => { file => 'lib/XML/XPath/Boolean.pm', version => '1.44' }, + 'XML::XPath::Root' => { file => 'lib/XML/XPath/Root.pm', version => '1.44' }, + 'XML::XPath::PerlSAX' => { file => 'lib/XML/XPath/PerlSAX.pm', version => '1.44' }, + 'XML::XPath::Builder' => { file => 'lib/XML/XPath/Builder.pm', version => '1.44' }, }, resources => { repository => { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.42/lib/XML/XPath/Boolean.pm new/XML-XPath-1.44/lib/XML/XPath/Boolean.pm --- old/XML-XPath-1.42/lib/XML/XPath/Boolean.pm 2017-07-28 18:18:08.000000000 +0200 +++ new/XML-XPath-1.44/lib/XML/XPath/Boolean.pm 2018-10-11 16:26:32.000000000 +0200 @@ -1,6 +1,6 @@ package XML::XPath::Boolean; -$VERSION = '1.42'; +$VERSION = '1.44'; use XML::XPath::Number; use XML::XPath::Literal; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.42/lib/XML/XPath/Builder.pm new/XML-XPath-1.44/lib/XML/XPath/Builder.pm --- old/XML-XPath-1.42/lib/XML/XPath/Builder.pm 2017-07-28 18:18:14.000000000 +0200 +++ new/XML-XPath-1.44/lib/XML/XPath/Builder.pm 2018-10-11 16:26:32.000000000 +0200 @@ -1,6 +1,6 @@ package XML::XPath::Builder; -$VERSION = '1.42'; +$VERSION = '1.44'; use strict; use warnings; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.42/lib/XML/XPath/Expr.pm new/XML-XPath-1.44/lib/XML/XPath/Expr.pm --- old/XML-XPath-1.42/lib/XML/XPath/Expr.pm 2017-07-28 18:18:21.000000000 +0200 +++ new/XML-XPath-1.44/lib/XML/XPath/Expr.pm 2018-10-11 16:26:32.000000000 +0200 @@ -1,6 +1,6 @@ package XML::XPath::Expr; -$VERSION = '1.42'; +$VERSION = '1.44'; use strict; use warnings; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.42/lib/XML/XPath/Function.pm new/XML-XPath-1.44/lib/XML/XPath/Function.pm --- old/XML-XPath-1.42/lib/XML/XPath/Function.pm 2017-07-28 18:18:28.000000000 +0200 +++ new/XML-XPath-1.44/lib/XML/XPath/Function.pm 2018-10-11 16:26:32.000000000 +0200 @@ -1,6 +1,6 @@ package XML::XPath::Function; -$VERSION = '1.42'; +$VERSION = '1.44'; use XML::XPath::Number; use XML::XPath::Literal; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.42/lib/XML/XPath/Literal.pm new/XML-XPath-1.44/lib/XML/XPath/Literal.pm --- old/XML-XPath-1.42/lib/XML/XPath/Literal.pm 2017-07-28 18:18:34.000000000 +0200 +++ new/XML-XPath-1.44/lib/XML/XPath/Literal.pm 2018-10-11 16:26:32.000000000 +0200 @@ -1,6 +1,6 @@ package XML::XPath::Literal; -$VERSION = '1.42'; +$VERSION = '1.44'; use XML::XPath::Boolean; use XML::XPath::Number; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.42/lib/XML/XPath/LocationPath.pm new/XML-XPath-1.44/lib/XML/XPath/LocationPath.pm --- old/XML-XPath-1.42/lib/XML/XPath/LocationPath.pm 2017-07-28 18:18:42.000000000 +0200 +++ new/XML-XPath-1.44/lib/XML/XPath/LocationPath.pm 2018-10-11 16:26:32.000000000 +0200 @@ -1,6 +1,6 @@ package XML::XPath::LocationPath; -$VERSION = '1.42'; +$VERSION = '1.44'; use Scalar::Util qw(blessed); use XML::XPath::Root; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.42/lib/XML/XPath/Node/Attribute.pm new/XML-XPath-1.44/lib/XML/XPath/Node/Attribute.pm --- old/XML-XPath-1.42/lib/XML/XPath/Node/Attribute.pm 2017-07-28 18:20:02.000000000 +0200 +++ new/XML-XPath-1.44/lib/XML/XPath/Node/Attribute.pm 2018-10-11 16:26:32.000000000 +0200 @@ -4,7 +4,7 @@ use vars qw/@ISA $VERSION/; @ISA = ('XML::XPath::Node'); -$VERSION = '1.42'; +$VERSION = '1.44'; package XML::XPath::Node::AttributeImpl; @@ -12,7 +12,7 @@ @ISA = ('XML::XPath::NodeImpl', 'XML::XPath::Node::Attribute'); use XML::XPath::Node ':node_keys'; -$VERSION = '1.42'; +$VERSION = '1.44'; sub new { my $class = shift; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.42/lib/XML/XPath/Node/Comment.pm new/XML-XPath-1.44/lib/XML/XPath/Node/Comment.pm --- old/XML-XPath-1.42/lib/XML/XPath/Node/Comment.pm 2017-07-28 18:20:10.000000000 +0200 +++ new/XML-XPath-1.44/lib/XML/XPath/Node/Comment.pm 2018-10-11 16:26:32.000000000 +0200 @@ -1,6 +1,6 @@ package XML::XPath::Node::Comment; -$VERSION = '1.42'; +$VERSION = '1.44'; use strict; use warnings; use vars qw/@ISA/; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.42/lib/XML/XPath/Node/Element.pm new/XML-XPath-1.44/lib/XML/XPath/Node/Element.pm --- old/XML-XPath-1.42/lib/XML/XPath/Node/Element.pm 2017-07-28 18:20:15.000000000 +0200 +++ new/XML-XPath-1.44/lib/XML/XPath/Node/Element.pm 2018-10-11 16:26:32.000000000 +0200 @@ -1,6 +1,6 @@ package XML::XPath::Node::Element; -$VERSION = '1.42'; +$VERSION = '1.44'; use strict; use warnings; use vars qw/@ISA/; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.42/lib/XML/XPath/Node/Namespace.pm new/XML-XPath-1.44/lib/XML/XPath/Node/Namespace.pm --- old/XML-XPath-1.42/lib/XML/XPath/Node/Namespace.pm 2017-07-28 18:20:21.000000000 +0200 +++ new/XML-XPath-1.44/lib/XML/XPath/Node/Namespace.pm 2018-10-11 16:26:32.000000000 +0200 @@ -1,6 +1,6 @@ package XML::XPath::Node::Namespace; -$VERSION = '1.42'; +$VERSION = '1.44'; use strict; use warnings; use vars qw/@ISA/; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.42/lib/XML/XPath/Node/PI.pm new/XML-XPath-1.44/lib/XML/XPath/Node/PI.pm --- old/XML-XPath-1.42/lib/XML/XPath/Node/PI.pm 2017-07-28 18:20:36.000000000 +0200 +++ new/XML-XPath-1.44/lib/XML/XPath/Node/PI.pm 2018-10-11 16:26:32.000000000 +0200 @@ -1,6 +1,6 @@ package XML::XPath::Node::PI; -$VERSION = '1.42'; +$VERSION = '1.44'; use strict; use warnings; use vars qw/@ISA/; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.42/lib/XML/XPath/Node/Text.pm new/XML-XPath-1.44/lib/XML/XPath/Node/Text.pm --- old/XML-XPath-1.42/lib/XML/XPath/Node/Text.pm 2017-07-28 18:20:42.000000000 +0200 +++ new/XML-XPath-1.44/lib/XML/XPath/Node/Text.pm 2018-10-11 16:26:32.000000000 +0200 @@ -1,6 +1,6 @@ package XML::XPath::Node::Text; -$VERSION = '1.42'; +$VERSION = '1.44'; use strict; use warnings; use vars qw/@ISA/; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.42/lib/XML/XPath/Node.pm new/XML-XPath-1.44/lib/XML/XPath/Node.pm --- old/XML-XPath-1.42/lib/XML/XPath/Node.pm 2017-07-28 18:18:55.000000000 +0200 +++ new/XML-XPath-1.44/lib/XML/XPath/Node.pm 2018-10-11 16:26:32.000000000 +0200 @@ -1,6 +1,6 @@ package XML::XPath::Node; -$VERSION = '1.42'; +$VERSION = '1.44'; use strict; use warnings; use vars qw(@ISA @EXPORT $AUTOLOAD %EXPORT_TAGS @EXPORT_OK); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.42/lib/XML/XPath/NodeSet.pm new/XML-XPath-1.44/lib/XML/XPath/NodeSet.pm --- old/XML-XPath-1.42/lib/XML/XPath/NodeSet.pm 2017-07-28 18:19:01.000000000 +0200 +++ new/XML-XPath-1.44/lib/XML/XPath/NodeSet.pm 2018-10-11 16:26:32.000000000 +0200 @@ -1,6 +1,6 @@ package XML::XPath::NodeSet; -$VERSION = '1.42'; +$VERSION = '1.44'; use strict; use warnings; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.42/lib/XML/XPath/Number.pm new/XML-XPath-1.44/lib/XML/XPath/Number.pm --- old/XML-XPath-1.42/lib/XML/XPath/Number.pm 2017-07-28 18:19:09.000000000 +0200 +++ new/XML-XPath-1.44/lib/XML/XPath/Number.pm 2018-10-11 16:26:32.000000000 +0200 @@ -1,6 +1,6 @@ package XML::XPath::Number; -$VERSION = '1.42'; +$VERSION = '1.44'; use XML::XPath::Boolean; use XML::XPath::Literal; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.42/lib/XML/XPath/Parser.pm new/XML-XPath-1.44/lib/XML/XPath/Parser.pm --- old/XML-XPath-1.42/lib/XML/XPath/Parser.pm 2017-07-28 18:19:15.000000000 +0200 +++ new/XML-XPath-1.44/lib/XML/XPath/Parser.pm 2018-10-11 16:26:32.000000000 +0200 @@ -1,6 +1,6 @@ package XML::XPath::Parser; -$VERSION = '1.42'; +$VERSION = '1.44'; use strict; use warnings; use vars qw/ @@ -69,6 +69,11 @@ return $self; } +sub cleanup { + my $self = shift; + $self->{cache} = {}; +} + sub get_var { my $self = shift; my $var = shift; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.42/lib/XML/XPath/PerlSAX.pm new/XML-XPath-1.44/lib/XML/XPath/PerlSAX.pm --- old/XML-XPath-1.42/lib/XML/XPath/PerlSAX.pm 2017-07-28 18:19:24.000000000 +0200 +++ new/XML-XPath-1.44/lib/XML/XPath/PerlSAX.pm 2018-10-11 16:26:32.000000000 +0200 @@ -1,6 +1,6 @@ package XML::XPath::PerlSAX; -$VERSION = '1.42'; +$VERSION = '1.44'; use XML::XPath::Node qw(:node_keys); use XML::XPath::XMLParser; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.42/lib/XML/XPath/Root.pm new/XML-XPath-1.44/lib/XML/XPath/Root.pm --- old/XML-XPath-1.42/lib/XML/XPath/Root.pm 2017-07-28 18:19:30.000000000 +0200 +++ new/XML-XPath-1.44/lib/XML/XPath/Root.pm 2018-10-11 16:26:32.000000000 +0200 @@ -1,6 +1,6 @@ package XML::XPath::Root; -$VERSION = '1.42'; +$VERSION = '1.44'; use strict; use warnings; use XML::XPath::XMLParser; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.42/lib/XML/XPath/Step.pm new/XML-XPath-1.44/lib/XML/XPath/Step.pm --- old/XML-XPath-1.42/lib/XML/XPath/Step.pm 2017-07-28 18:19:37.000000000 +0200 +++ new/XML-XPath-1.44/lib/XML/XPath/Step.pm 2018-10-11 16:26:32.000000000 +0200 @@ -1,6 +1,6 @@ package XML::XPath::Step; -$VERSION = '1.42'; +$VERSION = '1.44'; use XML::XPath::Parser; use XML::XPath::Node; @@ -9,7 +9,7 @@ # the beginnings of using XS for this file... # require DynaLoader; # use vars qw/$VERSION @ISA/; -# $VERSION = '1.0'; +# $VERSION = '1.44'; # @ISA = qw(DynaLoader); # # bootstrap XML::XPath::Step $VERSION; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.42/lib/XML/XPath/Variable.pm new/XML-XPath-1.44/lib/XML/XPath/Variable.pm --- old/XML-XPath-1.42/lib/XML/XPath/Variable.pm 2017-07-28 18:19:44.000000000 +0200 +++ new/XML-XPath-1.44/lib/XML/XPath/Variable.pm 2018-10-11 16:26:32.000000000 +0200 @@ -1,6 +1,6 @@ package XML::XPath::Variable; -$VERSION = '1.42'; +$VERSION = '1.44'; use strict; use warnings; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.42/lib/XML/XPath/XMLParser.pm new/XML-XPath-1.44/lib/XML/XPath/XMLParser.pm --- old/XML-XPath-1.42/lib/XML/XPath/XMLParser.pm 2017-07-28 18:19:51.000000000 +0200 +++ new/XML-XPath-1.44/lib/XML/XPath/XMLParser.pm 2018-10-11 16:26:32.000000000 +0200 @@ -1,6 +1,6 @@ package XML::XPath::XMLParser; -$VERSION = '1.42'; +$VERSION = '1.44'; use strict; use warnings; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.42/lib/XML/XPath.pm new/XML-XPath-1.44/lib/XML/XPath.pm --- old/XML-XPath-1.42/lib/XML/XPath.pm 2017-07-28 18:18:00.000000000 +0200 +++ new/XML-XPath-1.44/lib/XML/XPath.pm 2018-10-11 16:26:32.000000000 +0200 @@ -6,14 +6,14 @@ =head1 VERSION -Version 1.42 +Version 1.44 =cut use strict; use warnings; use vars qw($VERSION $AUTOLOAD $revision); -$VERSION = '1.42'; +$VERSION = '1.44'; $XML::XPath::Namespaces = 1; $XML::XPath::ParseParamEnt = 1; $XML::XPath::Debug = 0; @@ -485,6 +485,7 @@ my $context = $self->get_context; return unless $context; $context->dispose; + $self->{path_parser}->cleanup if $self->{path_parser}; } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.42/t/12axisdescendant.t new/XML-XPath-1.44/t/12axisdescendant.t --- old/XML-XPath-1.42/t/12axisdescendant.t 2016-04-04 19:41:16.000000000 +0200 +++ new/XML-XPath-1.44/t/12axisdescendant.t 2018-10-11 16:25:28.000000000 +0200 @@ -1,5 +1,5 @@ use Test; -BEGIN { plan tests => 6 } +BEGIN { plan tests => 7 } use XML::XPath; ok(1); @@ -11,6 +11,9 @@ @nodes = $xp->findnodes('/descendant::*'); ok(@nodes, 11); +@nodes = $xp->findnodes('/AAA/descendant::*'); +ok(@nodes, 10); + @nodes = $xp->findnodes('/AAA/BBB/descendant::*'); ok(@nodes, 4);
