Revision history for XML-GrammarBase
+ Add t/01libxml-basic.t for diag()s for libxml2 and XML::LibXML
+ (so we'll know which versions of them are failing).
0.1.1 Thu 3 Jan 13:39:42 IST 2013
Add keywords and resources to the META.yml / META.json.
+# This file was taken from the XML::LibXML distribution in order to
+# set up a few informative diag( ... )s.
+use Test::More tests => 3;
+my $p = XML::LibXML->new();
+ok ($p, 'Can initialize a new XML::LibXML instance');
+my ($runtime_version) = (XML::LibXML::LIBXML_RUNTIME_VERSION() =~ /\A(\d+)/);
+ XML::LibXML::LIBXML_VERSION, $runtime_version,
+ 'LIBXML__VERSION == LIBXML_RUNTIME_VERSION',
+ diag("DO NOT REPORT THIS FAILURE: Your setup of library paths is incorrect!");
+diag( "\n\nCompiled against libxml2 version: ",XML::LibXML::LIBXML_VERSION,
+ "\nRunning libxml2 version: ",$runtime_version,