Skip Menu |

This queue is for tickets about the XML-Twig CPAN distribution.

Report information
The Basics
Id: 33269
Status: resolved
Priority: 0/
Queue: XML-Twig

People
Owner: Nobody in particular
Requestors: peifer [...] gmx.eu
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 3.33



Subject: xml_grep error: Use of uninitialized value in concatenation (.) or string at /usr/bin/xml_grep line 140
Date: Thu, 14 Feb 2008 22:22:34 +0100
To: bug-XML-Twig [...] rt.cpan.org
From: Hermann Peifer <peifer [...] gmx.eu>
Hello, I just tried to count the number of BATHING elements in several XML files. I am getting the below error messages if the element doesn't occur in the first file. Counts in the following files seem to be OK, even if the element doesn't occur. $ xml_grep --count BATHING *.xml Use of uninitialized value in concatenation (.) or string at /usr/bin/xml_grep line 140. RBD_30000_SWMonitoringStations.xml: Use of uninitialized value in addition (+) at /usr/bin/xml_grep line 141. RBD_40000_SWMonitoringStations.xml: 0 RBD_AT1000_SWMonitoringStations.xml: 530 RBD_AT2000_SWMonitoringStations.xml: 39 RBD_AT5000_SWMonitoringStations.xml: 14 RBD_BE_Escaut_BR_SWMonitoringStations.xml: 0 Regards, Hermann
On Thu Feb 14 16:24:41 2008, peifer@gmx.eu wrote: Show quoted text
> Hello, > > I just tried to count the number of BATHING elements in several XML > files. I am getting the below error messages if the element doesn't > occur in the first file. Counts in the following files seem to be OK, > even if the element doesn't occur. > > $ xml_grep --count BATHING *.xml > Use of uninitialized value in concatenation (.) or string at > /usr/bin/xml_grep line 140. > RBD_30000_SWMonitoringStations.xml: > Use of uninitialized value in addition (+) at /usr/bin/xml_grep line 141. > RBD_40000_SWMonitoringStations.xml: 0 > RBD_AT1000_SWMonitoringStations.xml: 530 > RBD_AT2000_SWMonitoringStations.xml: 39 > RBD_AT5000_SWMonitoringStations.xml: 14 > RBD_BE_Escaut_BR_SWMonitoringStations.xml: 0 > > Regards, Hermann
Thanks Hermann, I had not seen this ticket in the RT queue, and apparently I never got a notification of it... Still, the problem is fixed in the latest development version of the module. Sorry for the terrible turnaround time. __ mirod