If I am using the XML::LibXML parser to repeatedly call a line like the following...
$tree = $parser->parse_file($WBCall);
...where $WBCall represents a HTTP string to a service that returns data in XML format, then occasionally I receive an error like the following: ":1: parser error : Start tag expected, '<' not found"
This occurs rarely when the code is pulling in hundreds of XML data files. Does this mean that I need to add in some XML validation? If so, what's the best Perl module for that?