← Back to team overview

pkg-perl-maintainers team mailing list archive

[Bug 732626] [NEW] Use of uninitialized value $token

 

Public bug reported:

Binary package hint: libxml-xpath-perl

I downloaded the HTML source of
http://pgl.yoyo.org/as/iplist.php?ipformat=iptables, cleaned it up with
tidy and then wanted to search for some xpath nodes.

The command line `xpath -e /html/ iptables.html` came with the following output:
Use of uninitialized value $token in concatenation (.) or string at /usr/share/perl5/XML/XPath/Parser.pm line 631.
Use of uninitialized value $token in string eq at /usr/share/perl5/XML/XPath/Parser.pm line 634.
Use of uninitialized value $token in pattern match (m//) at /usr/share/perl5/XML/XPath/Parser.pm line 644.
Use of uninitialized value $token in pattern match (m//) at /usr/share/perl5/XML/XPath/Parser.pm line 665.
Use of uninitialized value $token in pattern match (m//) at /usr/share/perl5/XML/XPath/Parser.pm line 671.
Use of uninitialized value $token in pattern match (m//) at /usr/share/perl5/XML/XPath/Parser.pm line 677.
Use of uninitialized value $token in string eq at /usr/share/perl5/XML/XPath/Parser.pm line 683.
Use of uninitialized value $token in string eq at /usr/share/perl5/XML/XPath/Parser.pm line 688.
Use of uninitialized value $token in string eq at /usr/share/perl5/XML/XPath/Parser.pm line 693.
Use of uninitialized value $token in string eq at /usr/share/perl5/XML/XPath/Parser.pm line 698.
Use of uninitialized value $token in pattern match (m//) at /usr/share/perl5/XML/XPath/Parser.pm line 703.
Use of uninitialized value $token in concatenation (.) or string at /usr/share/perl5/XML/XPath/Parser.pm line 761.
token  doesn't match format of a 'Step'

lsb_release -rd:
Description:	Ubuntu 10.04.2 LTS
Release:	10.04

apt-cache policy libxml-xpath-perl:
libxml-xpath-perl:
  Installiert: 1.13-7
  Kandidat: 1.13-7
  Versions-Tabelle:
 *** 1.13-7 0
        500 http://de.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status


Please make sure that $token has some value all the time and if it's not
possible, do some fallback. Thanks,

** Affects: libxml-xpath-perl (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Debian
Perl Group, which is subscribed to libxml-xpath-perl in ubuntu.
https://bugs.launchpad.net/bugs/732626

Title:
  Use of uninitialized value $token



Follow ups

References