Hello community,
here is the log from the commit of package perl-XML-XPath for openSUSE:Factory checked in at 2017-08-06 11:25:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-XML-XPath (Old)
and /work/SRC/openSUSE:Factory/.perl-XML-XPath.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-XML-XPath"
Sun Aug 6 11:25:15 2017 rev:34 rq:514088 version:1.41
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-XML-XPath/perl-XML-XPath.changes 2016-11-20 18:17:42.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-XML-XPath.new/perl-XML-XPath.changes 2017-08-06 11:25:16.279965247 +0200
@@ -1,0 +2,9 @@
+Sat Jul 29 06:35:42 UTC 2017 - coolo@suse.com
+
+- updated to 1.41
+ see /usr/share/doc/packages/perl-XML-XPath/Changes
+
+ 1.41 2017-07-28 MANWAR
+ - Fixed GitHub issue #4 (can't use non-ascii first character as element name). Thanks @nanis, @ikegami.
+
+-------------------------------------------------------------------
Old:
----
XML-XPath-1.40.tar.gz
New:
----
XML-XPath-1.41.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-XML-XPath.spec ++++++
--- /var/tmp/diff_new_pack.f52oFd/_old 2017-08-06 11:25:18.887597886 +0200
+++ /var/tmp/diff_new_pack.f52oFd/_new 2017-08-06 11:25:18.915593941 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-XML-XPath
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -17,14 +17,14 @@
Name: perl-XML-XPath
-Version: 1.40
+Version: 1.41
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/
-Source0: http://www.cpan.org/authors/id/M/MA/MANWAR/%{cpan_name}-%{version}.tar.gz
+Source0: https://cpan.metacpan.org/authors/id/M/MA/MANWAR/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -61,6 +61,7 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes examples LICENSE README TODO
+%doc Changes examples README TODO
+%license LICENSE
%changelog
++++++ XML-XPath-1.40.tar.gz -> XML-XPath-1.41.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.40/Changes new/XML-XPath-1.41/Changes
--- old/XML-XPath-1.40/Changes 2016-11-12 22:41:47.000000000 +0100
+++ new/XML-XPath-1.41/Changes 2017-07-27 20:11:28.000000000 +0200
@@ -1,5 +1,8 @@
Revision history for XML::XPath
+1.41 2017-07-28 MANWAR
+ - Fixed GitHub issue #4 (can't use non-ascii first character as element name). Thanks @nanis, @ikegami.
+
1.40 2016-11-13 MANWAR
- Proposed fix for RT #118726.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.40/MANIFEST new/XML-XPath-1.41/MANIFEST
--- old/XML-XPath-1.40/MANIFEST 2016-11-13 06:45:55.000000000 +0100
+++ new/XML-XPath-1.41/MANIFEST 2017-07-28 11:18:01.000000000 +0200
@@ -79,6 +79,7 @@
t/48translate.t
t/49literal.t
t/50xmlxpathparsercache.t
+t/51elementname.t
t/rdf.t
t/remove.t
t/insert.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.40/META.json new/XML-XPath-1.41/META.json
--- old/XML-XPath-1.40/META.json 2016-11-13 06:45:55.000000000 +0100
+++ new/XML-XPath-1.41/META.json 2017-07-28 11:18:01.000000000 +0200
@@ -4,7 +4,7 @@
"Matt Sergeant, AxKit.com Ltd"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 7.18, CPAN::Meta::Converter version 2.150005",
+ "generated_by" : "ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 2.150005",
"license" : [
"artistic_2"
],
@@ -42,95 +42,95 @@
"provides" : {
"XML::XPath" : {
"file" : "lib/XML/XPath.pm",
- "version" : "1.40"
+ "version" : "1.41"
},
"XML::XPath::Boolean" : {
"file" : "lib/XML/XPath/Boolean.pm",
- "version" : "1.40"
+ "version" : "1.41"
},
"XML::XPath::Builder" : {
"file" : "lib/XML/XPath/Builder.pm",
- "version" : "1.40"
+ "version" : "1.41"
},
"XML::XPath::Expr" : {
"file" : "lib/XML/XPath/Expr.pm",
- "version" : "1.40"
+ "version" : "1.41"
},
"XML::XPath::Function" : {
"file" : "lib/XML/XPath/Function.pm",
- "version" : "1.40"
+ "version" : "1.41"
},
"XML::XPath::Literal" : {
"file" : "lib/XML/XPath/Literal.pm",
- "version" : "1.40"
+ "version" : "1.41"
},
"XML::XPath::LocationPath" : {
"file" : "lib/XML/XPath/LocationPath.pm",
- "version" : "1.40"
+ "version" : "1.41"
},
"XML::XPath::Node" : {
"file" : "lib/XML/XPath/Node.pm",
- "version" : "1.40"
+ "version" : "1.41"
},
"XML::XPath::Node::Attribute" : {
"file" : "lib/XML/XPath/Node/Attribute.pm",
- "version" : "1.40"
+ "version" : "1.41"
},
"XML::XPath::Node::AttributeImpl" : {
"file" : "lib/XML/XPath/Node/Attribute.pm",
- "version" : "1.40"
+ "version" : "1.41"
},
"XML::XPath::Node::Comment" : {
"file" : "lib/XML/XPath/Node/Comment.pm",
- "version" : "1.40"
+ "version" : "1.41"
},
"XML::XPath::Node::Element" : {
"file" : "lib/XML/XPath/Node/Element.pm",
- "version" : "1.40"
+ "version" : "1.41"
},
"XML::XPath::Node::Namespace" : {
"file" : "lib/XML/XPath/Node/Namespace.pm",
- "version" : "1.40"
+ "version" : "1.41"
},
"XML::XPath::Node::PI" : {
"file" : "lib/XML/XPath/Node/PI.pm",
- "version" : "1.40"
+ "version" : "1.41"
},
"XML::XPath::Node::Text" : {
"file" : "lib/XML/XPath/Node/Text.pm",
- "version" : "1.40"
+ "version" : "1.41"
},
"XML::XPath::NodeSet" : {
"file" : "lib/XML/XPath/NodeSet.pm",
- "version" : "1.40"
+ "version" : "1.41"
},
"XML::XPath::Number" : {
"file" : "lib/XML/XPath/Number.pm",
- "version" : "1.40"
+ "version" : "1.41"
},
"XML::XPath::Parser" : {
"file" : "lib/XML/XPath/Parser.pm",
- "version" : "1.40"
+ "version" : "1.41"
},
"XML::XPath::PerlSAX" : {
"file" : "lib/XML/XPath/PerlSAX.pm",
- "version" : "1.40"
+ "version" : "1.41"
},
"XML::XPath::Root" : {
"file" : "lib/XML/XPath/Root.pm",
- "version" : "1.40"
+ "version" : "1.41"
},
"XML::XPath::Step" : {
"file" : "lib/XML/XPath/Step.pm",
- "version" : "1.40"
+ "version" : "1.41"
},
"XML::XPath::Variable" : {
"file" : "lib/XML/XPath/Variable.pm",
- "version" : "1.40"
+ "version" : "1.41"
},
"XML::XPath::XMLParser" : {
"file" : "lib/XML/XPath/XMLParser.pm",
- "version" : "1.40"
+ "version" : "1.41"
}
},
"release_status" : "stable",
@@ -141,6 +141,6 @@
"web" : "https://github.com/manwar/XML-XPath"
}
},
- "version" : "1.40",
- "x_serialization_backend" : "JSON::PP version 2.27300"
+ "version" : "1.41",
+ "x_serialization_backend" : "JSON::PP version 2.27400"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.40/META.yml new/XML-XPath-1.41/META.yml
--- old/XML-XPath-1.40/META.yml 2016-11-13 06:45:55.000000000 +0100
+++ new/XML-XPath-1.41/META.yml 2017-07-28 11:18:01.000000000 +0200
@@ -8,7 +8,7 @@
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.18, CPAN::Meta::Converter version 2.150005'
+generated_by: 'ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 2.150005'
license: artistic_2
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -21,78 +21,78 @@
provides:
XML::XPath:
file: lib/XML/XPath.pm
- version: '1.40'
+ version: '1.41'
XML::XPath::Boolean:
file: lib/XML/XPath/Boolean.pm
- version: '1.40'
+ version: '1.41'
XML::XPath::Builder:
file: lib/XML/XPath/Builder.pm
- version: '1.40'
+ version: '1.41'
XML::XPath::Expr:
file: lib/XML/XPath/Expr.pm
- version: '1.40'
+ version: '1.41'
XML::XPath::Function:
file: lib/XML/XPath/Function.pm
- version: '1.40'
+ version: '1.41'
XML::XPath::Literal:
file: lib/XML/XPath/Literal.pm
- version: '1.40'
+ version: '1.41'
XML::XPath::LocationPath:
file: lib/XML/XPath/LocationPath.pm
- version: '1.40'
+ version: '1.41'
XML::XPath::Node:
file: lib/XML/XPath/Node.pm
- version: '1.40'
+ version: '1.41'
XML::XPath::Node::Attribute:
file: lib/XML/XPath/Node/Attribute.pm
- version: '1.40'
+ version: '1.41'
XML::XPath::Node::AttributeImpl:
file: lib/XML/XPath/Node/Attribute.pm
- version: '1.40'
+ version: '1.41'
XML::XPath::Node::Comment:
file: lib/XML/XPath/Node/Comment.pm
- version: '1.40'
+ version: '1.41'
XML::XPath::Node::Element:
file: lib/XML/XPath/Node/Element.pm
- version: '1.40'
+ version: '1.41'
XML::XPath::Node::Namespace:
file: lib/XML/XPath/Node/Namespace.pm
- version: '1.40'
+ version: '1.41'
XML::XPath::Node::PI:
file: lib/XML/XPath/Node/PI.pm
- version: '1.40'
+ version: '1.41'
XML::XPath::Node::Text:
file: lib/XML/XPath/Node/Text.pm
- version: '1.40'
+ version: '1.41'
XML::XPath::NodeSet:
file: lib/XML/XPath/NodeSet.pm
- version: '1.40'
+ version: '1.41'
XML::XPath::Number:
file: lib/XML/XPath/Number.pm
- version: '1.40'
+ version: '1.41'
XML::XPath::Parser:
file: lib/XML/XPath/Parser.pm
- version: '1.40'
+ version: '1.41'
XML::XPath::PerlSAX:
file: lib/XML/XPath/PerlSAX.pm
- version: '1.40'
+ version: '1.41'
XML::XPath::Root:
file: lib/XML/XPath/Root.pm
- version: '1.40'
+ version: '1.41'
XML::XPath::Step:
file: lib/XML/XPath/Step.pm
- version: '1.40'
+ version: '1.41'
XML::XPath::Variable:
file: lib/XML/XPath/Variable.pm
- version: '1.40'
+ version: '1.41'
XML::XPath::XMLParser:
file: lib/XML/XPath/XMLParser.pm
- version: '1.40'
+ version: '1.41'
requires:
Scalar::Util: '1.45'
XML::Parser: '2.23'
perl: '5.006'
resources:
repository: https://github.com/manwar/XML-XPath.git
-version: '1.40'
+version: '1.41'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.40/Makefile.PL new/XML-XPath-1.41/Makefile.PL
--- old/XML-XPath-1.40/Makefile.PL 2016-11-12 22:40:34.000000000 +0100
+++ new/XML-XPath-1.41/Makefile.PL 2017-07-28 11:17:34.000000000 +0200
@@ -28,29 +28,29 @@
(eval { ExtUtils::MakeMaker->VERSION(6.46) } ? (META_MERGE => {
'meta-spec' => { version => 2 },
provides => {
- 'XML::XPath' => { file => 'lib/XML/XPath.pm', version => '1.40' },
- 'XML::XPath::XMLParser' => { file => 'lib/XML/XPath/XMLParser.pm', version => '1.40' },
- 'XML::XPath::Parser' => { file => 'lib/XML/XPath/Parser.pm', version => '1.40' },
- 'XML::XPath::Expr' => { file => 'lib/XML/XPath/Expr.pm', version => '1.40' },
- 'XML::XPath::Function' => { file => 'lib/XML/XPath/Function.pm', version => '1.40' },
- 'XML::XPath::Literal' => { file => 'lib/XML/XPath/Literal.pm', version => '1.40' },
- 'XML::XPath::LocationPath' => { file => 'lib/XML/XPath/LocationPath.pm', version => '1.40' },
- 'XML::XPath::Number' => { file => 'lib/XML/XPath/Number.pm', version => '1.40' },
- 'XML::XPath::Node' => { file => 'lib/XML/XPath/Node.pm', version => '1.40' },
- 'XML::XPath::Node::Element' => { file => 'lib/XML/XPath/Node/Element.pm', version => '1.40' },
- 'XML::XPath::Node::Attribute' => { file => 'lib/XML/XPath/Node/Attribute.pm', version => '1.40' },
- 'XML::XPath::Node::AttributeImpl' => { file => 'lib/XML/XPath/Node/Attribute.pm', version => '1.40' },
- 'XML::XPath::Node::Text' => { file => 'lib/XML/XPath/Node/Text.pm', version => '1.40' },
- 'XML::XPath::Node::Namespace' => { file => 'lib/XML/XPath/Node/Namespace.pm', version => '1.40' },
- 'XML::XPath::Node::PI' => { file => 'lib/XML/XPath/Node/PI.pm', version => '1.40' },
- 'XML::XPath::Node::Comment' => { file => 'lib/XML/XPath/Node/Comment.pm', version => '1.40' },
- 'XML::XPath::Step' => { file => 'lib/XML/XPath/Step.pm', version => '1.40' },
- 'XML::XPath::Variable' => { file => 'lib/XML/XPath/Variable.pm', version => '1.40' },
- 'XML::XPath::NodeSet' => { file => 'lib/XML/XPath/NodeSet.pm', version => '1.40' },
- 'XML::XPath::Boolean' => { file => 'lib/XML/XPath/Boolean.pm', version => '1.40' },
- 'XML::XPath::Root' => { file => 'lib/XML/XPath/Root.pm', version => '1.40' },
- 'XML::XPath::PerlSAX' => { file => 'lib/XML/XPath/PerlSAX.pm', version => '1.40' },
- 'XML::XPath::Builder' => { file => 'lib/XML/XPath/Builder.pm', version => '1.40' },
+ 'XML::XPath' => { file => 'lib/XML/XPath.pm', version => '1.41' },
+ 'XML::XPath::XMLParser' => { file => 'lib/XML/XPath/XMLParser.pm', version => '1.41' },
+ 'XML::XPath::Parser' => { file => 'lib/XML/XPath/Parser.pm', version => '1.41' },
+ 'XML::XPath::Expr' => { file => 'lib/XML/XPath/Expr.pm', version => '1.41' },
+ 'XML::XPath::Function' => { file => 'lib/XML/XPath/Function.pm', version => '1.41' },
+ 'XML::XPath::Literal' => { file => 'lib/XML/XPath/Literal.pm', version => '1.41' },
+ 'XML::XPath::LocationPath' => { file => 'lib/XML/XPath/LocationPath.pm', version => '1.41' },
+ 'XML::XPath::Number' => { file => 'lib/XML/XPath/Number.pm', version => '1.41' },
+ 'XML::XPath::Node' => { file => 'lib/XML/XPath/Node.pm', version => '1.41' },
+ 'XML::XPath::Node::Element' => { file => 'lib/XML/XPath/Node/Element.pm', version => '1.41' },
+ 'XML::XPath::Node::Attribute' => { file => 'lib/XML/XPath/Node/Attribute.pm', version => '1.41' },
+ 'XML::XPath::Node::AttributeImpl' => { file => 'lib/XML/XPath/Node/Attribute.pm', version => '1.41' },
+ 'XML::XPath::Node::Text' => { file => 'lib/XML/XPath/Node/Text.pm', version => '1.41' },
+ 'XML::XPath::Node::Namespace' => { file => 'lib/XML/XPath/Node/Namespace.pm', version => '1.41' },
+ 'XML::XPath::Node::PI' => { file => 'lib/XML/XPath/Node/PI.pm', version => '1.41' },
+ 'XML::XPath::Node::Comment' => { file => 'lib/XML/XPath/Node/Comment.pm', version => '1.41' },
+ 'XML::XPath::Step' => { file => 'lib/XML/XPath/Step.pm', version => '1.41' },
+ 'XML::XPath::Variable' => { file => 'lib/XML/XPath/Variable.pm', version => '1.41' },
+ 'XML::XPath::NodeSet' => { file => 'lib/XML/XPath/NodeSet.pm', version => '1.41' },
+ 'XML::XPath::Boolean' => { file => 'lib/XML/XPath/Boolean.pm', version => '1.41' },
+ 'XML::XPath::Root' => { file => 'lib/XML/XPath/Root.pm', version => '1.41' },
+ 'XML::XPath::PerlSAX' => { file => 'lib/XML/XPath/PerlSAX.pm', version => '1.41' },
+ 'XML::XPath::Builder' => { file => 'lib/XML/XPath/Builder.pm', version => '1.41' },
},
resources => {
repository => {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.40/lib/XML/XPath/Boolean.pm new/XML-XPath-1.41/lib/XML/XPath/Boolean.pm
--- old/XML-XPath-1.40/lib/XML/XPath/Boolean.pm 2016-11-12 22:31:39.000000000 +0100
+++ new/XML-XPath-1.41/lib/XML/XPath/Boolean.pm 2017-07-27 20:04:16.000000000 +0200
@@ -1,6 +1,6 @@
package XML::XPath::Boolean;
-$VERSION = '1.40';
+$VERSION = '1.41';
use XML::XPath::Number;
use XML::XPath::Literal;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.40/lib/XML/XPath/Builder.pm new/XML-XPath-1.41/lib/XML/XPath/Builder.pm
--- old/XML-XPath-1.40/lib/XML/XPath/Builder.pm 2016-11-12 22:31:51.000000000 +0100
+++ new/XML-XPath-1.41/lib/XML/XPath/Builder.pm 2017-07-27 20:04:24.000000000 +0200
@@ -1,6 +1,6 @@
package XML::XPath::Builder;
-$VERSION = '1.40';
+$VERSION = '1.41';
use strict; use warnings;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.40/lib/XML/XPath/Expr.pm new/XML-XPath-1.41/lib/XML/XPath/Expr.pm
--- old/XML-XPath-1.40/lib/XML/XPath/Expr.pm 2016-11-12 22:32:01.000000000 +0100
+++ new/XML-XPath-1.41/lib/XML/XPath/Expr.pm 2017-07-27 20:04:32.000000000 +0200
@@ -1,6 +1,6 @@
package XML::XPath::Expr;
-$VERSION = '1.40';
+$VERSION = '1.41';
use strict; use warnings;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.40/lib/XML/XPath/Function.pm new/XML-XPath-1.41/lib/XML/XPath/Function.pm
--- old/XML-XPath-1.40/lib/XML/XPath/Function.pm 2016-11-12 22:32:12.000000000 +0100
+++ new/XML-XPath-1.41/lib/XML/XPath/Function.pm 2017-07-27 20:04:39.000000000 +0200
@@ -1,6 +1,6 @@
package XML::XPath::Function;
-$VERSION = '1.40';
+$VERSION = '1.41';
use XML::XPath::Number;
use XML::XPath::Literal;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.40/lib/XML/XPath/Literal.pm new/XML-XPath-1.41/lib/XML/XPath/Literal.pm
--- old/XML-XPath-1.40/lib/XML/XPath/Literal.pm 2016-11-12 22:32:21.000000000 +0100
+++ new/XML-XPath-1.41/lib/XML/XPath/Literal.pm 2017-07-27 20:04:48.000000000 +0200
@@ -1,6 +1,6 @@
package XML::XPath::Literal;
-$VERSION = '1.40';
+$VERSION = '1.41';
use XML::XPath::Boolean;
use XML::XPath::Number;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.40/lib/XML/XPath/LocationPath.pm new/XML-XPath-1.41/lib/XML/XPath/LocationPath.pm
--- old/XML-XPath-1.40/lib/XML/XPath/LocationPath.pm 2016-11-12 22:32:46.000000000 +0100
+++ new/XML-XPath-1.41/lib/XML/XPath/LocationPath.pm 2017-07-27 20:05:01.000000000 +0200
@@ -1,6 +1,6 @@
package XML::XPath::LocationPath;
-$VERSION = '1.40';
+$VERSION = '1.41';
use Scalar::Util qw(blessed);
use XML::XPath::Root;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.40/lib/XML/XPath/Node/Attribute.pm new/XML-XPath-1.41/lib/XML/XPath/Node/Attribute.pm
--- old/XML-XPath-1.40/lib/XML/XPath/Node/Attribute.pm 2016-11-12 22:39:35.000000000 +0100
+++ new/XML-XPath-1.41/lib/XML/XPath/Node/Attribute.pm 2017-07-27 20:07:01.000000000 +0200
@@ -4,7 +4,7 @@
use vars qw/@ISA $VERSION/;
@ISA = ('XML::XPath::Node');
-$VERSION = '1.40';
+$VERSION = '1.41';
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.40';
+$VERSION = '1.41';
sub new {
my $class = shift;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.40/lib/XML/XPath/Node/Comment.pm new/XML-XPath-1.41/lib/XML/XPath/Node/Comment.pm
--- old/XML-XPath-1.40/lib/XML/XPath/Node/Comment.pm 2016-11-12 22:35:16.000000000 +0100
+++ new/XML-XPath-1.41/lib/XML/XPath/Node/Comment.pm 2017-07-27 20:07:08.000000000 +0200
@@ -1,6 +1,6 @@
package XML::XPath::Node::Comment;
-$VERSION = '1.40';
+$VERSION = '1.41';
use strict; use warnings;
use vars qw/@ISA/;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.40/lib/XML/XPath/Node/Element.pm new/XML-XPath-1.41/lib/XML/XPath/Node/Element.pm
--- old/XML-XPath-1.40/lib/XML/XPath/Node/Element.pm 2016-11-12 22:35:25.000000000 +0100
+++ new/XML-XPath-1.41/lib/XML/XPath/Node/Element.pm 2017-07-27 20:07:18.000000000 +0200
@@ -1,6 +1,6 @@
package XML::XPath::Node::Element;
-$VERSION = '1.40';
+$VERSION = '1.41';
use strict; use warnings;
use vars qw/@ISA/;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.40/lib/XML/XPath/Node/Namespace.pm new/XML-XPath-1.41/lib/XML/XPath/Node/Namespace.pm
--- old/XML-XPath-1.40/lib/XML/XPath/Node/Namespace.pm 2016-11-12 22:35:34.000000000 +0100
+++ new/XML-XPath-1.41/lib/XML/XPath/Node/Namespace.pm 2017-07-27 20:07:27.000000000 +0200
@@ -1,6 +1,6 @@
package XML::XPath::Node::Namespace;
-$VERSION = '1.40';
+$VERSION = '1.41';
use strict; use warnings;
use vars qw/@ISA/;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.40/lib/XML/XPath/Node/PI.pm new/XML-XPath-1.41/lib/XML/XPath/Node/PI.pm
--- old/XML-XPath-1.40/lib/XML/XPath/Node/PI.pm 2016-11-12 22:35:43.000000000 +0100
+++ new/XML-XPath-1.41/lib/XML/XPath/Node/PI.pm 2017-07-27 20:07:35.000000000 +0200
@@ -1,6 +1,6 @@
package XML::XPath::Node::PI;
-$VERSION = '1.40';
+$VERSION = '1.41';
use strict; use warnings;
use vars qw/@ISA/;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.40/lib/XML/XPath/Node/Text.pm new/XML-XPath-1.41/lib/XML/XPath/Node/Text.pm
--- old/XML-XPath-1.40/lib/XML/XPath/Node/Text.pm 2016-11-12 22:35:52.000000000 +0100
+++ new/XML-XPath-1.41/lib/XML/XPath/Node/Text.pm 2017-07-27 20:07:42.000000000 +0200
@@ -1,6 +1,6 @@
package XML::XPath::Node::Text;
-$VERSION = '1.40';
+$VERSION = '1.41';
use strict; use warnings;
use vars qw/@ISA/;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.40/lib/XML/XPath/Node.pm new/XML-XPath-1.41/lib/XML/XPath/Node.pm
--- old/XML-XPath-1.40/lib/XML/XPath/Node.pm 2016-11-12 22:32:58.000000000 +0100
+++ new/XML-XPath-1.41/lib/XML/XPath/Node.pm 2017-07-27 20:05:12.000000000 +0200
@@ -1,6 +1,6 @@
package XML::XPath::Node;
-$VERSION = '1.40';
+$VERSION = '1.41';
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.40/lib/XML/XPath/NodeSet.pm new/XML-XPath-1.41/lib/XML/XPath/NodeSet.pm
--- old/XML-XPath-1.40/lib/XML/XPath/NodeSet.pm 2016-11-12 22:33:08.000000000 +0100
+++ new/XML-XPath-1.41/lib/XML/XPath/NodeSet.pm 2017-07-27 20:05:21.000000000 +0200
@@ -1,6 +1,6 @@
package XML::XPath::NodeSet;
-$VERSION = '1.40';
+$VERSION = '1.41';
use strict; use warnings;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.40/lib/XML/XPath/Number.pm new/XML-XPath-1.41/lib/XML/XPath/Number.pm
--- old/XML-XPath-1.40/lib/XML/XPath/Number.pm 2016-11-12 22:33:19.000000000 +0100
+++ new/XML-XPath-1.41/lib/XML/XPath/Number.pm 2017-07-27 20:05:27.000000000 +0200
@@ -1,6 +1,6 @@
package XML::XPath::Number;
-$VERSION = '1.40';
+$VERSION = '1.41';
use XML::XPath::Boolean;
use XML::XPath::Literal;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.40/lib/XML/XPath/Parser.pm new/XML-XPath-1.41/lib/XML/XPath/Parser.pm
--- old/XML-XPath-1.40/lib/XML/XPath/Parser.pm 2016-11-12 22:33:29.000000000 +0100
+++ new/XML-XPath-1.41/lib/XML/XPath/Parser.pm 2017-07-27 20:05:35.000000000 +0200
@@ -1,6 +1,6 @@
package XML::XPath::Parser;
-$VERSION = '1.40';
+$VERSION = '1.41';
use strict; use warnings;
use vars qw/
@@ -42,8 +42,12 @@
'self' => 'element',
);
-$NCName = '([A-Za-z_][\w\\.\\-]*)';
-$QName = "($NCName:)?$NCName";
+my $NameStartCharClassBody = "a-zA-Z_\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\x{2FF}\\x{370}-\\x{37D}\\x{37F}-\\x{1FFF}\\x{200C}-\\x{200D}\\x{2070}-\\x{218F}\\x{2C00}-\\x{2FEF}\\x{3001}-\\x{D7FF}\\x{F900}-\\x{FDCF}\\x{FDF0}-\\x{FFFD}\\x{10000}-\\x{EFFFF}";
+my $NameCharClassBody = "${NameStartCharClassBody}\\-.0-9\\xB7\\x{300}-\\x{36F}\\x{203F}-\\x{2040}";
+my $Name = "(?:[$NameStartCharClassBody][$NameCharClassBody]*)";
+
+$NCName = $Name;
+$QName = "$NCName(?::$NCName)?";
$NCWild = "${NCName}:\\*";
$QNWild = "\\*";
$NODE_TYPE = '((text|comment|processing-instruction|node)\\(\\))';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.40/lib/XML/XPath/PerlSAX.pm new/XML-XPath-1.41/lib/XML/XPath/PerlSAX.pm
--- old/XML-XPath-1.40/lib/XML/XPath/PerlSAX.pm 2016-11-12 22:33:41.000000000 +0100
+++ new/XML-XPath-1.41/lib/XML/XPath/PerlSAX.pm 2017-07-27 20:05:47.000000000 +0200
@@ -1,6 +1,6 @@
package XML::XPath::PerlSAX;
-$VERSION = '1.40';
+$VERSION = '1.41';
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.40/lib/XML/XPath/Root.pm new/XML-XPath-1.41/lib/XML/XPath/Root.pm
--- old/XML-XPath-1.40/lib/XML/XPath/Root.pm 2016-11-12 22:33:50.000000000 +0100
+++ new/XML-XPath-1.41/lib/XML/XPath/Root.pm 2017-07-27 20:05:54.000000000 +0200
@@ -1,6 +1,6 @@
package XML::XPath::Root;
-$VERSION = '1.40';
+$VERSION = '1.41';
use strict; use warnings;
use XML::XPath::XMLParser;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.40/lib/XML/XPath/Step.pm new/XML-XPath-1.41/lib/XML/XPath/Step.pm
--- old/XML-XPath-1.40/lib/XML/XPath/Step.pm 2016-11-12 22:34:00.000000000 +0100
+++ new/XML-XPath-1.41/lib/XML/XPath/Step.pm 2017-07-27 20:06:03.000000000 +0200
@@ -1,6 +1,6 @@
package XML::XPath::Step;
-$VERSION = '1.40';
+$VERSION = '1.41';
use XML::XPath::Parser;
use XML::XPath::Node;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.40/lib/XML/XPath/Variable.pm new/XML-XPath-1.41/lib/XML/XPath/Variable.pm
--- old/XML-XPath-1.40/lib/XML/XPath/Variable.pm 2016-11-12 22:34:09.000000000 +0100
+++ new/XML-XPath-1.41/lib/XML/XPath/Variable.pm 2017-07-27 20:06:11.000000000 +0200
@@ -1,6 +1,6 @@
package XML::XPath::Variable;
-$VERSION = '1.40';
+$VERSION = '1.41';
use strict; use warnings;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.40/lib/XML/XPath/XMLParser.pm new/XML-XPath-1.41/lib/XML/XPath/XMLParser.pm
--- old/XML-XPath-1.40/lib/XML/XPath/XMLParser.pm 2016-11-12 22:34:23.000000000 +0100
+++ new/XML-XPath-1.41/lib/XML/XPath/XMLParser.pm 2017-07-27 20:06:48.000000000 +0200
@@ -1,6 +1,6 @@
package XML::XPath::XMLParser;
-$VERSION = '1.40';
+$VERSION = '1.41';
use strict; use warnings;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.40/lib/XML/XPath.pm new/XML-XPath-1.41/lib/XML/XPath.pm
--- old/XML-XPath-1.40/lib/XML/XPath.pm 2016-11-12 22:31:25.000000000 +0100
+++ new/XML-XPath-1.41/lib/XML/XPath.pm 2017-07-27 20:04:05.000000000 +0200
@@ -6,14 +6,14 @@
=head1 VERSION
-Version 1.40
+Version 1.41
=cut
use strict; use warnings;
use vars qw($VERSION $AUTOLOAD $revision);
-$VERSION = '1.40';
+$VERSION = '1.41';
$XML::XPath::Namespaces = 1;
$XML::XPath::ParseParamEnt = 1;
$XML::XPath::Debug = 0;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-XPath-1.40/t/51elementname.t new/XML-XPath-1.41/t/51elementname.t
--- old/XML-XPath-1.40/t/51elementname.t 1970-01-01 01:00:00.000000000 +0100
+++ new/XML-XPath-1.41/t/51elementname.t 2017-07-27 20:03:03.000000000 +0200
@@ -0,0 +1,26 @@
+#!/usr/bin/perl
+
+use utf8;
+use open qw(:std :encoding(utf-8));
+use Test::More tests => 3;
+use strict;
+use warnings;
+use XML::XPath;
+
+my $good_path = '/employees/employee[@age="30"]/yağcı';
+my $bad_path = '/employees/employee[@age="30"]/şımarık';
+
+my $xp = XML::XPath->new(ioref => \*DATA);
+
+ok($xp);
+ok($xp->findvalue($good_path), 'değil');
+ok($xp->findvalue($bad_path), 'değil');
+
+__DATA__
+<?xml version="1.0" encoding="utf-8" ?>
+<employees>
+ <employee age="30">
+ <şımarık>değilşımarık>
+