Skip Menu |

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

Report information
The Basics
Id: 22544
Status: new
Priority: 0/
Queue: XML-QL

People
Owner: Nobody in particular
Requestors: david [...] coppit.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.07
Fixed in: (no value)



Subject: XML::QL allows XML::Parser to call die()
I'm using XML::QL for the following query: WHERE <item><title>\$title</title><link>\$link</link></item> IN 'http://www.techbargains.com/rss.xml' CONSTRUCT <a href="\$link">\$title</a> Since the server www.techbargains.com is temporarily (I hope) down, after a timeout I get this error: syntax error at line 1, column 0, byte 0: 500 Can't connect to www.techbargains.com:80 (connect: Invalid argument) ^ at /home/dcoppit/perl/lib/site_perl/XML/Parser.pm line 187 and my program exits. Could you fix XML::QL so that it detects such connection failures, and doesn't try to have XML::Parser parse the error message? This way my program can continue to function. One could argue that modules such as XML::Parser should not just die... I'm not sure if a bug needs to be filed on that module as well.