Here is a newer version fo the patch:
Origin: vendor
Bug:
https://rt.cpan.org/Public/Bug/Display.html?id=100815
Forwarded:
https://rt.cpan.org/Public/Bug/Display.html?id=100815
Author: matanya moses <matanya@foss.co.il>
Last-Update: 2014-12-09
Index: libtree-xpathengine-perl/lib/Tree/XPathEngine.pm
===================================================================
--- libtree-xpathengine-perl.orig/lib/Tree/XPathEngine.pm 2014-12-10
22:49:40.964245368 +0200
+++ libtree-xpathengine-perl/lib/Tree/XPathEngine.pm 2014-12-10
22:54:54.954194142 +0200
@@ -839,6 +839,7 @@
__END__
+=encoding UTF-8
=head1 NAME
@@ -916,7 +917,7 @@
a regular expression used to match names (node names or attribute
names)
by default it is qr/[A-Za-z_][w.-]*/ in order to work under perl 5.6.n,
but you might want to use something like qr/p{L}[w.-]*/ in 5.8.n, to
-accomodate letter outside of the ascii range.
+accommodate letter outside of the ascii range.
=back
@@ -1307,7 +1308,7 @@
L<Tree::DAG_Node::XPath> for an exemple of using this module
-L<
http://www.xmltwig.com/article/extending_xml_xpath/ > for background
information
++L<
http://www.xmltwig.com/article/extending_xml_xpath/> for background
information
L<Class::XPath>, which is probably easier to use, but at this point
supports much
less of XPath that Tree::XPathEngine.
On 2014-12-10 01:16, Bugs in Tree-XPathEngine via RT wrote:
Show quoted text> Greetings,
>
> This message has been automatically generated in response to the
> creation of a trouble ticket regarding:
> "fix spelling and encoding",
> a summary of which appears below.
>
> There is no need to reply to this message right now. Your ticket has been
> assigned an ID of [rt.cpan.org #100815]. Your ticket is accessible
> on the web at:
>
>
https://rt.cpan.org/Ticket/Display.html?id=100815 [1]
>
> Please include the string:
>
> [rt.cpan.org #100815]
>
> in the subject line of all future correspondence about this issue. To do so,
> you may reply to this message.
>
> Thank you,
> bug-Tree-XPathEngine@rt.cpan.org
>
> -------------------------------------------------------------------------
>
> In Debian we are currently applying the following patch to
> Tree-XPathEngine.
> We thought you might be interested in it too.
>
> This patch fixes a spelling mistake and an encoding issue upstream
> Index: libtree-xpathengine-perl/lib/Tree/XPathEngine.pm
> ===================================================================
> --- libtree-xpathengine-perl.orig/lib/Tree/XPathEngine.pm
> +++ libtree-xpathengine-perl/lib/Tree/XPathEngine.pm
> @@ -841,7 +841,7 @@ sub _debug {
> __END__
>
> =head1 NAME
> -
> +=encoding UTF-8
> Tree::XPathEngine - a re-usable XPath engine
>
> =head1 DESCRIPTION
> @@ -916,7 +916,7 @@ shouldn't have to touch most of that.
> a regular expression used to match names (node names or attribute
> names)
> by default it is qr/[A-Za-z_][w.-]*/ in order to work under perl 5.6.n,
> but you might want to use something like qr/p{L}[w.-]*/ in 5.8.n, to
> -accomodate letter outside of the ascii range.
> +accommodate letter outside of the ascii range.
>
> =back
>
> The patch is tracked in our Git repository at
>
https://anonscm.debian.org/cgit/pkg-perl/packages/libtree-xpathengine-perl.git/plain/debian/patches/fixspelling.patch [2]
>
> Thanks for considering,
> Matanya Moses,
> Debian Perl Group
Links:
------
[1]
https://rt.cpan.org/Ticket/Display.html?id=100815
[2]
https://anonscm.debian.org/cgit/pkg-perl/packages/libtree-xpathengine-perl.git/plain/debian/patches/fixspelling.patch