Hello community, here is the log from the commit of package perl-XML-LibXML for openSUSE:Factory checked in at 2015-12-13 09:39:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-XML-LibXML (Old) and /work/SRC/openSUSE:Factory/.perl-XML-LibXML.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-XML-LibXML" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-XML-LibXML/perl-XML-LibXML.changes 2015-09-13 09:42:35.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-XML-LibXML.new/perl-XML-LibXML.changes 2015-12-13 09:39:15.000000000 +0100 @@ -1,0 +2,15 @@ +Wed Dec 9 09:56:40 UTC 2015 - [email protected] + +- updated to 2.0123 + see /usr/share/doc/packages/perl-XML-LibXML/Changes + + 2.0123 2015-12-06 + - Get rid of an undef-warning in XML::LibXML::Reader . + - https://rt.cpan.org/Ticket/Display.html?id=106830 + - Thanks to Rich for the report and testcase. + - Apply patch from Debian for rewording the documentation. + - https://rt.cpan.org/Ticket/Display.html?id=110116 + - Some extra rewording has been done by SHLOMIF. + - Thanks to Gregor Herrman and the Debian Team + +------------------------------------------------------------------- Old: ---- XML-LibXML-2.0122.tar.gz New: ---- XML-LibXML-2.0123.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-XML-LibXML.spec ++++++ --- /var/tmp/diff_new_pack.aZWUOZ/_old 2015-12-13 09:39:16.000000000 +0100 +++ /var/tmp/diff_new_pack.aZWUOZ/_new 2015-12-13 09:39:16.000000000 +0100 @@ -17,7 +17,7 @@ Name: perl-XML-LibXML -Version: 2.0122 +Version: 2.0123 Release: 0 %define cpan_name XML-LibXML Summary: Perl Binding for libxml2 @@ -51,7 +51,6 @@ %prep %setup -q -n %{cpan_name}-%{version} -find . -type f -print0 | xargs -0 chmod 644 %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" ++++++ XML-LibXML-2.0122.tar.gz -> XML-LibXML-2.0123.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/Changes new/XML-LibXML-2.0123/Changes --- old/XML-LibXML-2.0122/Changes 2015-09-01 10:57:28.000000000 +0200 +++ new/XML-LibXML-2.0123/Changes 2015-12-06 14:16:14.000000000 +0100 @@ -1,5 +1,14 @@ Revision history for Perl extension XML::LibXML +2.0123 2015-12-06 + - Get rid of an undef-warning in XML::LibXML::Reader . + - https://rt.cpan.org/Ticket/Display.html?id=106830 + - Thanks to Rich for the report and testcase. + - Apply patch from Debian for rewording the documentation. + - https://rt.cpan.org/Ticket/Display.html?id=110116 + - Some extra rewording has been done by SHLOMIF. + - Thanks to Gregor Herrman and the Debian Team + 2.0122 2015-09-01 - Enable the memory test on cygwin as well as Linux. - https://rt.cpan.org/Ticket/Display.html?id=104666 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/LibXML.pm new/XML-LibXML-2.0123/LibXML.pm --- old/XML-LibXML-2.0122/LibXML.pm 2015-09-01 10:57:46.000000000 +0200 +++ new/XML-LibXML-2.0123/LibXML.pm 2015-12-06 14:16:48.000000000 +0100 @@ -29,7 +29,7 @@ use IO::Handle; # for FH reads called as methods BEGIN { -$VERSION = "2.0122"; # VERSION TEMPLATE: DO NOT CHANGE +$VERSION = "2.0123"; # VERSION TEMPLATE: DO NOT CHANGE $ABI_VERSION = 2; require Exporter; require DynaLoader; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/LibXML.pod new/XML-LibXML-2.0123/LibXML.pod --- old/XML-LibXML-2.0122/LibXML.pod 2015-09-01 10:58:23.000000000 +0200 +++ new/XML-LibXML-2.0123/LibXML.pod 2015-12-06 14:08:36.000000000 +0100 @@ -459,8 +459,8 @@ import_GDOME() and export_GDOME(). Both function have two parameters: the node and a flag for recursive import. The flag works as in cloneNode(). -The two functions allow to export and import XML::GDOME nodes explicitly, -however, XML::LibXML allows also the transparent import of XML::GDOME nodes in +The two functions allow one to export and import XML::GDOME nodes explicitly, +however, XML::LibXML also allows the transparent import of XML::GDOME nodes in functions such as appendChild(), insertAfter() and so on. While native nodes are automatically adopted in most functions XML::GDOME nodes are always cloned in advance. Thus if the original node is modified after the operation, the node diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/MANIFEST new/XML-LibXML-2.0123/MANIFEST --- old/XML-LibXML-2.0122/MANIFEST 2015-09-01 11:01:12.000000000 +0200 +++ new/XML-LibXML-2.0123/MANIFEST 2015-12-06 14:18:49.000000000 +0100 @@ -160,6 +160,7 @@ t/48_RH5_double_free_rt83779.t t/48_SAX_Builder_rt_91433.t t/48_memleak_rt_83744.t +t/48_reader_undef_warning_on_empty_str_rt106830.t t/48_removeChild_crashes_rt_80395.t t/48_replaceNode_DTD_nodes_rT_80521.t t/48_rt55000.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/META.json new/XML-LibXML-2.0123/META.json --- old/XML-LibXML-2.0122/META.json 2015-09-01 11:01:12.000000000 +0200 +++ new/XML-LibXML-2.0123/META.json 2015-12-06 14:18:49.000000000 +0100 @@ -4,7 +4,7 @@ "Petr Pajas" ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter version 2.150005", + "generated_by" : "ExtUtils::MakeMaker version 7.1, CPAN::Meta::Converter version 2.150005", "keywords" : [ "dom", "html", @@ -68,6 +68,6 @@ "url" : "https://bitbucket.org/shlomif/perl-xml-libxml" } }, - "version" : "2.0122", + "version" : "2.0123", "x_serialization_backend" : "JSON::PP version 2.27300" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/META.yml new/XML-LibXML-2.0123/META.yml --- old/XML-LibXML-2.0122/META.yml 2015-09-01 11:01:12.000000000 +0200 +++ new/XML-LibXML-2.0123/META.yml 2015-12-06 14:18:49.000000000 +0100 @@ -7,7 +7,7 @@ configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter version 2.150005' +generated_by: 'ExtUtils::MakeMaker version 7.1, CPAN::Meta::Converter version 2.150005' keywords: - dom - html @@ -46,5 +46,5 @@ resources: homepage: https://bitbucket.org/shlomif/perl-xml-libxml repository: https://bitbucket.org/shlomif/perl-xml-libxml -version: '2.0122' +version: '2.0123' x_serialization_backend: 'CPAN::Meta::YAML version 0.016' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/docs/libxml.dbk new/XML-LibXML-2.0123/docs/libxml.dbk --- old/XML-LibXML-2.0122/docs/libxml.dbk 2015-09-01 10:58:23.000000000 +0200 +++ new/XML-LibXML-2.0123/docs/libxml.dbk 2015-12-06 14:08:36.000000000 +0100 @@ -918,7 +918,7 @@ <para>XML::LibXML provides two functions to export or import GDOME nodes: import_GDOME() and export_GDOME(). Both function have two parameters: the node and a flag for recursive import. The flag works as in cloneNode().</para> - <para>The two functions allow to export and import XML::GDOME nodes explicitly, however, XML::LibXML allows also the transparent import of + <para>The two functions allow one to export and import XML::GDOME nodes explicitly, however, XML::LibXML also allows the transparent import of XML::GDOME nodes in functions such as appendChild(), insertAfter() and so on. While native nodes are automatically adopted in most functions XML::GDOME nodes are always cloned in advance. Thus if the original node is modified after the operation, the node in the XML::LibXML document will not have this information.</para> @@ -6260,8 +6260,8 @@ tree-based parser (DOM), which load the complete tree into memory.</para> <para>The Reader acts as a cursor going forward on the document - stream and stopping at each node in the way. At every point - DOM-like methods of the Reader object allow to examine the + stream and stopping at each node on the way. At every point, + the DOM-like methods of the Reader object allow one to examine the current node (name, namespace, attributes, etc.)</para> <para>The user's code keeps control of the progress and simply calls the <literal>read()</literal> function repeatedly to diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/example/xpath.pl new/XML-LibXML-2.0123/example/xpath.pl --- old/XML-LibXML-2.0122/example/xpath.pl 2011-06-22 15:22:39.000000000 +0200 +++ new/XML-LibXML-2.0123/example/xpath.pl 2015-09-01 11:09:27.000000000 +0200 @@ -1,4 +1,4 @@ -#! /usr/bin/perl -w +#!/usr/bin/perl # $Id$ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/lib/XML/LibXML/AttributeHash.pm new/XML-LibXML-2.0123/lib/XML/LibXML/AttributeHash.pm --- old/XML-LibXML-2.0122/lib/XML/LibXML/AttributeHash.pm 2015-09-01 10:57:46.000000000 +0200 +++ new/XML-LibXML-2.0123/lib/XML/LibXML/AttributeHash.pm 2015-12-06 14:16:48.000000000 +0100 @@ -7,7 +7,7 @@ our @ISA = qw/Tie::Hash/; use vars qw($VERSION); -$VERSION = "2.0122"; # VERSION TEMPLATE: DO NOT CHANGE +$VERSION = "2.0123"; # VERSION TEMPLATE: DO NOT CHANGE BEGIN { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/lib/XML/LibXML/Boolean.pm new/XML-LibXML-2.0123/lib/XML/LibXML/Boolean.pm --- old/XML-LibXML-2.0122/lib/XML/LibXML/Boolean.pm 2015-09-01 10:57:46.000000000 +0200 +++ new/XML-LibXML-2.0123/lib/XML/LibXML/Boolean.pm 2015-12-06 14:16:48.000000000 +0100 @@ -16,7 +16,7 @@ use vars qw ($VERSION); -$VERSION = "2.0122"; # VERSION TEMPLATE: DO NOT CHANGE +$VERSION = "2.0123"; # VERSION TEMPLATE: DO NOT CHANGE use overload '""' => \&value, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/lib/XML/LibXML/Common.pm new/XML-LibXML-2.0123/lib/XML/LibXML/Common.pm --- old/XML-LibXML-2.0122/lib/XML/LibXML/Common.pm 2015-09-01 10:57:46.000000000 +0200 +++ new/XML-LibXML-2.0123/lib/XML/LibXML/Common.pm 2015-12-06 14:16:48.000000000 +0100 @@ -24,7 +24,7 @@ @ISA = qw(Exporter); -$VERSION = "2.0122"; # VERSION TEMPLATE: DO NOT CHANGE +$VERSION = "2.0123"; # VERSION TEMPLATE: DO NOT CHANGE use XML::LibXML qw(:libxml); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/lib/XML/LibXML/Devel.pm new/XML-LibXML-2.0123/lib/XML/LibXML/Devel.pm --- old/XML-LibXML-2.0122/lib/XML/LibXML/Devel.pm 2015-09-01 10:57:46.000000000 +0200 +++ new/XML-LibXML-2.0123/lib/XML/LibXML/Devel.pm 2015-12-06 14:16:48.000000000 +0100 @@ -12,7 +12,7 @@ use XML::LibXML; use vars qw ($VERSION); -$VERSION = "2.0122"; # VERSION TEMPLATE: DO NOT CHANGE +$VERSION = "2.0123"; # VERSION TEMPLATE: DO NOT CHANGE use 5.008_000; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/lib/XML/LibXML/ErrNo.pm new/XML-LibXML-2.0123/lib/XML/LibXML/ErrNo.pm --- old/XML-LibXML-2.0122/lib/XML/LibXML/ErrNo.pm 2015-09-01 10:57:46.000000000 +0200 +++ new/XML-LibXML-2.0123/lib/XML/LibXML/ErrNo.pm 2015-12-06 14:16:48.000000000 +0100 @@ -14,7 +14,7 @@ use warnings; use vars qw($VERSION); -$VERSION = "2.0122"; # VERSION TEMPLATE: DO NOT CHANGE +$VERSION = "2.0123"; # VERSION TEMPLATE: DO NOT CHANGE use constant ERR_OK => 0; use constant ERR_INTERNAL_ERROR => 1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/lib/XML/LibXML/Error.pm new/XML-LibXML-2.0123/lib/XML/LibXML/Error.pm --- old/XML-LibXML-2.0122/lib/XML/LibXML/Error.pm 2015-09-01 10:57:46.000000000 +0200 +++ new/XML-LibXML-2.0123/lib/XML/LibXML/Error.pm 2015-12-06 14:16:48.000000000 +0100 @@ -29,7 +29,7 @@ fallback => 1; $WARNINGS = 0; # 0: suppress, 1: report via warn, 2: report via die -$VERSION = "2.0122"; # VERSION TEMPLATE: DO NOT CHANGE +$VERSION = "2.0123"; # VERSION TEMPLATE: DO NOT CHANGE use constant XML_ERR_NONE => 0; use constant XML_ERR_WARNING => 1; # A simple warning diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/lib/XML/LibXML/Literal.pm new/XML-LibXML-2.0123/lib/XML/LibXML/Literal.pm --- old/XML-LibXML-2.0122/lib/XML/LibXML/Literal.pm 2015-09-01 10:57:46.000000000 +0200 +++ new/XML-LibXML-2.0123/lib/XML/LibXML/Literal.pm 2015-12-06 14:16:48.000000000 +0100 @@ -16,7 +16,7 @@ use warnings; use vars qw ($VERSION); -$VERSION = "2.0122"; # VERSION TEMPLATE: DO NOT CHANGE +$VERSION = "2.0123"; # VERSION TEMPLATE: DO NOT CHANGE use overload '""' => \&value, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/lib/XML/LibXML/NodeList.pm new/XML-LibXML-2.0123/lib/XML/LibXML/NodeList.pm --- old/XML-LibXML-2.0122/lib/XML/LibXML/NodeList.pm 2015-09-01 10:57:46.000000000 +0200 +++ new/XML-LibXML-2.0123/lib/XML/LibXML/NodeList.pm 2015-12-06 14:16:48.000000000 +0100 @@ -17,7 +17,7 @@ use XML::LibXML::Number; use vars qw($VERSION); -$VERSION = "2.0122"; # VERSION TEMPLATE: DO NOT CHANGE +$VERSION = "2.0123"; # VERSION TEMPLATE: DO NOT CHANGE use overload '""' => \&to_literal, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/lib/XML/LibXML/Number.pm new/XML-LibXML-2.0123/lib/XML/LibXML/Number.pm --- old/XML-LibXML-2.0122/lib/XML/LibXML/Number.pm 2015-09-01 10:57:46.000000000 +0200 +++ new/XML-LibXML-2.0123/lib/XML/LibXML/Number.pm 2015-12-06 14:16:48.000000000 +0100 @@ -14,7 +14,7 @@ use warnings; use vars qw ($VERSION); -$VERSION = "2.0122"; # VERSION TEMPLATE: DO NOT CHANGE +$VERSION = "2.0123"; # VERSION TEMPLATE: DO NOT CHANGE use overload '""' => \&value, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/lib/XML/LibXML/Reader.pm new/XML-LibXML-2.0123/lib/XML/LibXML/Reader.pm --- old/XML-LibXML-2.0122/lib/XML/LibXML/Reader.pm 2015-09-01 10:57:46.000000000 +0200 +++ new/XML-LibXML-2.0123/lib/XML/LibXML/Reader.pm 2015-12-06 14:16:48.000000000 +0100 @@ -14,7 +14,7 @@ use warnings; use vars qw ($VERSION); -$VERSION = "2.0122"; # VERSION TEMPLATE: DO NOT CHANGE +$VERSION = "2.0123"; # VERSION TEMPLATE: DO NOT CHANGE use 5.008_000; @@ -140,7 +140,9 @@ } elsif ( defined $args{string} ) { $self = $class->_newForString( $args{string}, $URI, $encoding, $options ); - $string_pool{$self} = \$args{string}; + if (defined($self)) { + $string_pool{$self} = \$args{string}; + } } elsif ( defined $args{IO} ) { $self = $class->_newForIO( $args{IO}, $URI, $encoding, $options ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/lib/XML/LibXML/Reader.pod new/XML-LibXML-2.0123/lib/XML/LibXML/Reader.pod --- old/XML-LibXML-2.0122/lib/XML/LibXML/Reader.pod 2015-09-01 10:58:23.000000000 +0200 +++ new/XML-LibXML-2.0123/lib/XML/LibXML/Reader.pod 2015-12-06 14:08:37.000000000 +0100 @@ -45,8 +45,9 @@ than tree-based parser (DOM), which load the complete tree into memory. The Reader acts as a cursor going forward on the document stream and stopping -at each node in the way. At every point DOM-like methods of the Reader object -allow to examine the current node (name, namespace, attributes, etc.) +at each node on the way. At every point, the DOM-like methods of the Reader +object allow one to examine the current node (name, namespace, attributes, +etc.) The user's code keeps control of the progress and simply calls the C<<<<<< read() >>>>>> function repeatedly to progress to the next node in the document order. Other functions provide means for skipping complete sub-trees, or nodes until a diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/lib/XML/LibXML/SAX/Builder.pm new/XML-LibXML-2.0123/lib/XML/LibXML/SAX/Builder.pm --- old/XML-LibXML-2.0122/lib/XML/LibXML/SAX/Builder.pm 2015-09-01 10:57:46.000000000 +0200 +++ new/XML-LibXML-2.0123/lib/XML/LibXML/SAX/Builder.pm 2015-12-06 14:16:48.000000000 +0100 @@ -21,7 +21,7 @@ return $XML::LibXML::__threads_shared ? 0 : 1; } -$VERSION = "2.0122"; # VERSION TEMPLATE: DO NOT CHANGE +$VERSION = "2.0123"; # VERSION TEMPLATE: DO NOT CHANGE sub new { my $class = shift; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/lib/XML/LibXML/SAX/Generator.pm new/XML-LibXML-2.0123/lib/XML/LibXML/SAX/Generator.pm --- old/XML-LibXML-2.0122/lib/XML/LibXML/SAX/Generator.pm 2015-09-01 10:57:46.000000000 +0200 +++ new/XML-LibXML-2.0123/lib/XML/LibXML/SAX/Generator.pm 2015-12-06 14:16:48.000000000 +0100 @@ -15,7 +15,7 @@ use XML::LibXML; use vars qw ($VERSION); -$VERSION = "2.0122"; # VERSION TEMPLATE: DO NOT CHANGE +$VERSION = "2.0123"; # VERSION TEMPLATE: DO NOT CHANGE sub CLONE_SKIP { return $XML::LibXML::__threads_shared ? 0 : 1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/lib/XML/LibXML/SAX/Parser.pm new/XML-LibXML-2.0123/lib/XML/LibXML/SAX/Parser.pm --- old/XML-LibXML-2.0122/lib/XML/LibXML/SAX/Parser.pm 2015-09-01 10:57:46.000000000 +0200 +++ new/XML-LibXML-2.0123/lib/XML/LibXML/SAX/Parser.pm 2015-12-06 14:16:48.000000000 +0100 @@ -18,7 +18,7 @@ use XML::SAX::Base; use XML::SAX::DocumentLocator; -$VERSION = "2.0122"; # VERSION TEMPLATE: DO NOT CHANGE +$VERSION = "2.0123"; # VERSION TEMPLATE: DO NOT CHANGE @ISA = ('XML::SAX::Base'); sub CLONE_SKIP { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/lib/XML/LibXML/SAX.pm new/XML-LibXML-2.0123/lib/XML/LibXML/SAX.pm --- old/XML-LibXML-2.0122/lib/XML/LibXML/SAX.pm 2015-09-01 10:57:46.000000000 +0200 +++ new/XML-LibXML-2.0123/lib/XML/LibXML/SAX.pm 2015-12-06 14:16:48.000000000 +0100 @@ -14,7 +14,7 @@ use vars qw($VERSION @ISA); -$VERSION = "2.0122"; # VERSION TEMPLATE: DO NOT CHANGE +$VERSION = "2.0123"; # VERSION TEMPLATE: DO NOT CHANGE use XML::LibXML; use XML::SAX::Base; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/lib/XML/LibXML/XPathContext.pm new/XML-LibXML-2.0123/lib/XML/LibXML/XPathContext.pm --- old/XML-LibXML-2.0122/lib/XML/LibXML/XPathContext.pm 2015-09-01 10:57:46.000000000 +0200 +++ new/XML-LibXML-2.0123/lib/XML/LibXML/XPathContext.pm 2015-12-06 14:16:48.000000000 +0100 @@ -17,7 +17,7 @@ use XML::LibXML; use XML::LibXML::NodeList; -$VERSION = "2.0122"; # VERSION TEMPLATE: DO NOT CHANGE +$VERSION = "2.0123"; # VERSION TEMPLATE: DO NOT CHANGE # should LibXML XPath data types be used for simple objects # when passing parameters to extension functions (default: no) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/t/07dtd.t new/XML-LibXML-2.0123/t/07dtd.t --- old/XML-LibXML-2.0122/t/07dtd.t 2015-04-04 18:16:05.000000000 +0200 +++ new/XML-LibXML-2.0123/t/07dtd.t 2015-09-04 12:09:52.000000000 +0200 @@ -7,7 +7,7 @@ use Test::More tests => 54; use lib './t/lib'; -use TestHelpers; +use TestHelpers qw(slurp); use XML::LibXML; use XML::LibXML::Common qw(:libxml); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/t/11memory.t new/XML-LibXML-2.0123/t/11memory.t --- old/XML-LibXML-2.0122/t/11memory.t 2015-05-29 09:22:25.000000000 +0200 +++ new/XML-LibXML-2.0123/t/11memory.t 2015-09-04 12:10:14.000000000 +0200 @@ -2,7 +2,7 @@ use warnings; use lib './t/lib'; -use TestHelpers; +use TestHelpers qw(slurp); use Test::More; use constant TIMES_THROUGH => $ENV{MEMORY_TIMES} || 100_000; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/t/13dtd.t new/XML-LibXML-2.0123/t/13dtd.t --- old/XML-LibXML-2.0122/t/13dtd.t 2012-08-09 09:31:36.000000000 +0200 +++ new/XML-LibXML-2.0123/t/13dtd.t 2015-09-04 12:09:30.000000000 +0200 @@ -5,7 +5,7 @@ use Test::More tests => 18; use lib './t/lib'; -use TestHelpers; +use TestHelpers qw(slurp); use XML::LibXML; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/t/17callbacks.t new/XML-LibXML-2.0123/t/17callbacks.t --- old/XML-LibXML-2.0122/t/17callbacks.t 2012-08-09 09:32:13.000000000 +0200 +++ new/XML-LibXML-2.0123/t/17callbacks.t 2015-09-04 12:08:49.000000000 +0200 @@ -4,7 +4,7 @@ use warnings; use lib './t/lib'; -use TestHelpers; +use TestHelpers qw(slurp); use Counter; use Stacker; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/t/25relaxng.t new/XML-LibXML-2.0123/t/25relaxng.t --- old/XML-LibXML-2.0122/t/25relaxng.t 2012-08-09 09:33:10.000000000 +0200 +++ new/XML-LibXML-2.0123/t/25relaxng.t 2015-09-04 12:07:23.000000000 +0200 @@ -8,7 +8,7 @@ use warnings; use lib './t/lib'; -use TestHelpers; +use TestHelpers qw(slurp); use Test::More; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/t/26schema.t new/XML-LibXML-2.0123/t/26schema.t --- old/XML-LibXML-2.0122/t/26schema.t 2014-03-14 13:10:19.000000000 +0100 +++ new/XML-LibXML-2.0123/t/26schema.t 2015-09-04 12:09:16.000000000 +0200 @@ -8,7 +8,7 @@ use warnings; use lib './t/lib'; -use TestHelpers; +use TestHelpers qw(slurp); use Test::More; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/t/48_SAX_Builder_rt_91433.t new/XML-LibXML-2.0123/t/48_SAX_Builder_rt_91433.t --- old/XML-LibXML-2.0122/t/48_SAX_Builder_rt_91433.t 2013-12-17 10:01:49.000000000 +0100 +++ new/XML-LibXML-2.0123/t/48_SAX_Builder_rt_91433.t 2015-09-04 12:08:31.000000000 +0200 @@ -6,7 +6,7 @@ use Test::More tests => 1; use lib './t/lib'; -use TestHelpers; +use TestHelpers qw(eq_or_diff); BEGIN { $XML::SAX::ParserPackage = "XML::LibXML::SAX"; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/t/48_reader_undef_warning_on_empty_str_rt106830.t new/XML-LibXML-2.0123/t/48_reader_undef_warning_on_empty_str_rt106830.t --- old/XML-LibXML-2.0122/t/48_reader_undef_warning_on_empty_str_rt106830.t 1970-01-01 01:00:00.000000000 +0100 +++ new/XML-LibXML-2.0123/t/48_reader_undef_warning_on_empty_str_rt106830.t 2015-09-04 11:58:27.000000000 +0200 @@ -0,0 +1,74 @@ +# This is a test for: +# https://rt.cpan.org/Ticket/Display.html?id=106830 + +=head1 DESCRIPTION + +XML::LibXML::Reader emits a warning on empty string. + +=head1 THANKS. + +Rich. + +=cut + +use strict; +use warnings; + +use Test::More tests => 2; + +use lib './t/lib'; +use TestHelpers ( qw(eq_or_diff) ); + +use XML::LibXML::Reader; + +{ + my @warnings; + + local $SIG{__WARN__} = sub { push @warnings, [@_] }; + + my $empty_xml_doc = ''; + my $xml_reader = XML::LibXML::Reader->new(string => $empty_xml_doc); + + # TEST + ok (scalar(!defined($xml_reader)), + 'xml_reader is undef', + ); + + # TEST + eq_or_diff( + \@warnings, + [], + 'no warnigns were emitted.' + ); +} + + +=head1 COPYRIGHT & LICENSE + +Copyright 2015 by Shlomi Fish + +This program is distributed under the MIT (X11) License: +L<http://www.opensource.org/licenses/mit-license.php> + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +=cut diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/t/49_load_html.t new/XML-LibXML-2.0123/t/49_load_html.t --- old/XML-LibXML-2.0122/t/49_load_html.t 2012-08-09 09:24:22.000000000 +0200 +++ new/XML-LibXML-2.0123/t/49_load_html.t 2015-09-04 12:11:24.000000000 +0200 @@ -5,7 +5,7 @@ use utf8; use lib './t/lib'; -use TestHelpers; +use TestHelpers qw(utf8_slurp eq_or_diff); use Test::More tests => 3; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/t/90threads.t new/XML-LibXML-2.0123/t/90threads.t --- old/XML-LibXML-2.0122/t/90threads.t 2013-12-17 10:01:06.000000000 +0100 +++ new/XML-LibXML-2.0123/t/90threads.t 2015-09-04 12:06:59.000000000 +0200 @@ -4,7 +4,7 @@ use warnings; use lib './t/lib'; -use TestHelpers; +use TestHelpers qw(utf8_slurp); use Test::More; use Config; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/t/lib/Stacker.pm new/XML-LibXML-2.0123/t/lib/Stacker.pm --- old/XML-LibXML-2.0122/t/lib/Stacker.pm 2013-12-17 10:01:11.000000000 +0100 +++ new/XML-LibXML-2.0123/t/lib/Stacker.pm 2015-09-04 12:07:53.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -use TestHelpers; +use TestHelpers qw(eq_or_diff); use parent 'Collector'; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-2.0122/t/lib/TestHelpers.pm new/XML-LibXML-2.0123/t/lib/TestHelpers.pm --- old/XML-LibXML-2.0122/t/lib/TestHelpers.pm 2013-12-17 10:01:30.000000000 +0100 +++ new/XML-LibXML-2.0123/t/lib/TestHelpers.pm 2015-09-04 12:11:36.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our @EXPORT = (qw(slurp utf8_slurp eq_or_diff)); +our @EXPORT_OK = (qw(slurp utf8_slurp eq_or_diff)); use parent 'Exporter';
